diff options
author | Valérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net> | 2016-07-14 00:29:38 +0200 |
---|---|---|
committer | Valérie-Emma Leroux <valerie-emma.leroux@iggdrasil.net> | 2016-07-14 00:29:38 +0200 |
commit | fa93b0528bbaaf79fc78cae32c4e625102ec8eb8 (patch) | |
tree | 4a7cb7c5fe0ec9b1aac7300a9a59c3b4fb23f156 | |
parent | ab60ba322c871f69eefa38a278d400406f653d98 (diff) | |
download | Ishtar-fa93b0528bbaaf79fc78cae32c4e625102ec8eb8.tar.bz2 Ishtar-fa93b0528bbaaf79fc78cae32c4e625102ec8eb8.zip |
Identificationtype: ordering by label
-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 5b22fb7f7..38c65a24a 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -99,7 +99,7 @@ class IdentificationType(GeneralType): class Meta: verbose_name = _(u"Identification Type") verbose_name_plural = _(u"Identification Types") - ordering = ('order',) + ordering = ('order', 'label') def __unicode__(self): return self.label |