From fa93b0528bbaaf79fc78cae32c4e625102ec8eb8 Mon Sep 17 00:00:00 2001 From: Valérie-Emma Leroux Date: Thu, 14 Jul 2016 00:29:38 +0200 Subject: Identificationtype: ordering by label --- archaeological_context_records/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3