From 1e982a1f6de39a3d52178c5035cdd21b524e1928 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Mon, 13 Sep 2010 15:15:30 +0200 Subject: [PATCH 1/1] fixes #815: books arrangement --- apps/catalogue/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/catalogue/views.py b/apps/catalogue/views.py index 8630ebf61..010d3bfcd 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -159,7 +159,7 @@ def tagged_object_list(request, tags=''): objects = fragments else: # get relevant books and their tags - objects = models.Book.tagged.with_all(tags).order_by() + objects = models.Book.tagged.with_all(tags) if not shelf_is_set: # eliminate descendants l_tags = models.Tag.objects.filter(category='book', slug__in=[book.book_tag_slug() for book in objects]) -- 2.20.1