summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archaeological_warehouse/models.py2
-rw-r--r--ishtar_common/models.py4
-rw-r--r--ishtar_common/models_common.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_warehouse/models.py b/archaeological_warehouse/models.py
index 4a5294632..4ce50e401 100644
--- a/archaeological_warehouse/models.py
+++ b/archaeological_warehouse/models.py
@@ -1344,7 +1344,7 @@ class Container(
def generate_full_location(self):
full_location = [location.short_label for location in self.get_localisations()]
full_location.append(self.short_label)
- return " / ".join(full_location)
+ return " > ".join(full_location)
def _generate_cached_weight(self):
return self.weight if self.weight else self.calculated_weight
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 86be555ca..7daee912b 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -2654,7 +2654,7 @@ class Area(HierarchicalType, DocumentItem, MainItem):
label = [str(self)]
if self.parent and self.parent.pk != self.pk:
label.append(self.parent.full_label)
- return " / ".join(label)
+ return " > ".join(label)
def _get_base_image_path(self):
return self.SLUG
@@ -5504,7 +5504,7 @@ class Document(
while source_type:
source_types.append(str(source_type))
source_type = source_type.parent
- return " / ".join(reversed(source_types))
+ return " > ".join(reversed(source_types))
def public_representation(self):
site = Site.objects.get_current()
diff --git a/ishtar_common/models_common.py b/ishtar_common/models_common.py
index 986ba209d..6bc7efdc2 100644
--- a/ishtar_common/models_common.py
+++ b/ishtar_common/models_common.py
@@ -346,7 +346,7 @@ class GeneralType(Cached, models.Model):
c_item = c_item.parent
parents.reverse()
parents.append(item.label)
- item.label = " / ".join(parents)
+ item.label = " > ".join(parents)
if not item.comment:
continue
if c_rank > item.rank: