summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorlxf <sng@luxagraf.net>2022-02-06 15:17:38 -0500
committerlxf <sng@luxagraf.net>2022-02-06 15:17:38 -0500
commit26c7400f5651d36b84adb3971c09dcc0b275b004 (patch)
treeeaf9e0caa0f61c83e738919cc73031875486c22c /app
parentce82dfd650b0583ffd8da72b9fc6aa9bde4d4269 (diff)
lttr: fixed sort order of newsletter mailings in admin
Diffstat (limited to 'app')
-rw-r--r--app/lttr/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lttr/models.py b/app/lttr/models.py
index 7c40f0e..1efeb79 100644
--- a/app/lttr/models.py
+++ b/app/lttr/models.py
@@ -224,7 +224,7 @@ class NewsletterMailing(models.Model):
issue = models.PositiveIntegerField(blank=True)
class Meta:
- ordering = ('-title', '-pub_date')
+ ordering = ('-pub_date', '-newsletter')
def __str__(self):
return self.title