From 6b2a418e48e838b67a6a4ef3559b5c3ab2936272 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