From: Radek Czajka Date: Thu, 25 Nov 2010 13:36:56 +0000 (+0100) Subject: fixes (book ordering, librarian html fix) X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/62f859e48e3eb71ab6974326684ab4afd3f50f56?ds=sidebyside;hp=58a39e2d8614b5ec1d8ffc6ae5268fa94f555736 fixes (book ordering, librarian html fix) --- 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 = [] diff --git a/lib/librarian b/lib/librarian index ef08e0561..dd7a7591a 160000 --- a/lib/librarian +++ b/lib/librarian @@ -1 +1 @@ -Subproject commit ef08e0561b644913f99401373890c97218ec5b81 +Subproject commit dd7a7591ae946e6526f7555672517563c994b3ee