fixes (book ordering, librarian html fix)
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Thu, 25 Nov 2010 13:36:56 +0000 (14:36 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Thu, 25 Nov 2010 13:36:56 +0000 (14:36 +0100)
apps/catalogue/views.py
lib/librarian

index 38036ab..fbd4fb6 100644 (file)
@@ -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 = []
index ef08e05..dd7a759 160000 (submodule)
@@ -1 +1 @@
-Subproject commit ef08e0561b644913f99401373890c97218ec5b81
+Subproject commit dd7a7591ae946e6526f7555672517563c994b3ee