X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/58a39e2d8614b5ec1d8ffc6ae5268fa94f555736..62f859e48e3eb71ab6974326684ab4afd3f50f56:/apps/catalogue/views.py diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index 38036ab3a..fbd4fb610 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -255,7 +255,7 @@ def book_detail(request, slug): book_tag = book.book_tag() tags = list(book.tags.filter(~Q(category='set'))) categories = split_tags(tags) - book_children = book.children.all().order_by('parent_number') + book_children = book.children.all().order_by('parent_number', 'title') _book = book parents = []