X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..e466cef774f05a0c2fd99df7b8e714d0da2b9773:/src/catalogue/api/helpers.py?ds=sidebyside diff --git a/src/catalogue/api/helpers.py b/src/catalogue/api/helpers.py index 6813e03d4..7971268b0 100644 --- a/src/catalogue/api/helpers.py +++ b/src/catalogue/api/helpers.py @@ -20,6 +20,4 @@ def books_after(books, after, new_api): def order_books(books, new_api): if new_api: return books.order_by('sort_key_author', 'sort_key', 'id') - else: - return books.order_by('slug') - + return books.order_by('slug')