From 26c7400f5651d36b84adb3971c09dcc0b275b004 Mon Sep 17 00:00:00 2001 From: lxf Date: Sun, 6 Feb 2022 15:17:38 -0500 Subject: lttr: fixed sort order of newsletter mailings in admin --- app/lttr/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lttr') 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 -- cgit v1.2.3-70-g09d2