From 7db4410c1b8bff220838eab1a6b316521583a9bc Mon Sep 17 00:00:00 2001 From: Daniel Quinn Date: Sun, 2 Sep 2018 20:56:45 +0100 Subject: [PATCH] Default sort order for tags to use 'name' --- src/documents/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/documents/models.py b/src/documents/models.py index 58ac66123..2ee446ae6 100644 --- a/src/documents/models.py +++ b/src/documents/models.py @@ -59,6 +59,7 @@ class MatchingModel(models.Model): class Meta: abstract = True + ordering = ("name",) def __str__(self): return self.name