summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 83e60866d..9d1a54d7d 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -111,7 +111,7 @@ class Period(GeneralType):
class Meta:
verbose_name = _("Type Period")
verbose_name_plural = _("Types Period")
- ordering = ("order",)
+ ordering = ("order", "label")
def __str__(self):
return self.label
@@ -127,7 +127,7 @@ class ReportState(GeneralType):
class Meta:
verbose_name = _("Type of report state")
verbose_name_plural = _("Types of report state")
- ordering = ("order",)
+ ordering = ("order", "label")
post_save.connect(post_save_cache, sender=ReportState)
@@ -145,7 +145,7 @@ class RecordQualityType(GeneralType):
class Meta:
verbose_name = _("Type of record quality")
verbose_name_plural = _("Types of record quality")
- ordering = ("order",)
+ ordering = ("order", "label")
class CulturalAttributionType(HierarchicalType):
@@ -154,7 +154,7 @@ class CulturalAttributionType(HierarchicalType):
class Meta:
verbose_name = _("Cultural attribution type")
verbose_name_plural = _("Cultural attribution types")
- ordering = ("order",)
+ ordering = ("order", "label")
post_save.connect(post_save_cache, sender=RecordQualityType)