fixes #815: books arrangement
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 13 Sep 2010 13:15:30 +0000 (15:15 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Mon, 13 Sep 2010 13:41:23 +0000 (15:41 +0200)
apps/catalogue/views.py

index 8630ebf..010d3bf 100644 (file)
@@ -159,7 +159,7 @@ def tagged_object_list(request, tags=''):
             objects = fragments
     else:
         # get relevant books and their 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])
         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])