From 62f859e48e3eb71ab6974326684ab4afd3f50f56 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 25 Nov 2010 14:36:56 +0100 Subject: [PATCH 1/1] fixes (book ordering, librarian html fix) --- apps/catalogue/views.py | 2 +- lib/librarian | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1