X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/0c966fecc8002d7413c25bbb03e961add58ca19c..2b46783ce404f01b81d1f8af045c69a507078818:/src/picture/models.py diff --git a/src/picture/models.py b/src/picture/models.py index 5bc8d49d9..dc7142c0a 100644 --- a/src/picture/models.py +++ b/src/picture/models.py @@ -101,7 +101,7 @@ class Picture(models.Model): pass class Meta: - ordering = ('sort_key',) + ordering = ('sort_key_author', 'sort_key') verbose_name = _('picture') verbose_name_plural = _('pictures')