diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-05-09 12:36:12 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-05-09 12:36:12 +0200 |
commit | b5a676684f3a4b85682934a6c1c251559131be28 (patch) | |
tree | 9740239cfaa28bf79b1adf35f6602091ae1d7cb9 /archaeological_context_records/models.py | |
parent | e770c12bf36346d7f7580e20ea3f1c4386a94ee3 (diff) | |
download | Ishtar-b5a676684f3a4b85682934a6c1c251559131be28.tar.bz2 Ishtar-b5a676684f3a4b85682934a6c1c251559131be28.zip |
🐛 fix hierarchical ordering in admin and forms (refs #5797)
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r-- | archaeological_context_records/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 1c0acadbc..a112829f1 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -332,7 +332,7 @@ class ActivityType(GeneralType): class Meta: verbose_name = _("Activity Type") verbose_name_plural = _("Activity Types") - ordering = ("order",) + ordering = ("order", "label") def __str__(self): return self.label |