diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-04-20 11:39:20 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-04-20 11:39:20 +0200 | 
| commit | 8dedb50e62a909b9270da73e426b92df86c5f27c (patch) | |
| tree | b665e612df86e2a75df24d0b543a62d5f54b5c8f | |
| parent | 821c5ab6c865b245ffd0f3f9add4c6b95657841b (diff) | |
| download | Ishtar-8dedb50e62a909b9270da73e426b92df86c5f27c.tar.bz2 Ishtar-8dedb50e62a909b9270da73e426b92df86c5f27c.zip | |
Sort document template by type and name (refs #2431)
| -rw-r--r-- | ishtar_common/models.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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 | 
