X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1ca64302e8447c9715ab42dd1a33075f312e6059..b2b4f8f39a4b15cbc3b9af7c06f75bbed9a84c88:/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')