From b2b68ed94baf270c58a2bb568155405f08fe1c98 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 20 Apr 2015 11:39:20 +0200 Subject: Sort document template by type and name (refs #2431) --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/models.py') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index a11eed783..46aafe2ad 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -841,7 +841,7 @@ class DocumentTemplate(models.Model): class Meta: verbose_name = _(u"Document template") verbose_name_plural = _(u"Document templates") - ordering = ['associated_object_name'] + ordering = ['associated_object_name', 'name'] def __unicode__(self): return self.name -- cgit v1.2.3