From e1ca1ec8d77b79835f83bb8910cdd629e1cd3534 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20St=C4=99pniowski?= Date: Wed, 24 Sep 2008 10:39:22 +0200 Subject: [PATCH 1/1] Show children books in sets if they were explicitly added. --- 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 257d4727d..f574c13fa 100644 --- a/apps/catalogue/views.py +++ b/apps/catalogue/views.py @@ -79,7 +79,7 @@ def tagged_object_list(request, tags=''): related_tags = models.Tag.objects.related_for_model(tags, model, counts=True, extra={'where': [extra_where]}) categories = split_tags(related_tags) - if not theme_is_set: + if not (theme_is_set or shelf_is_set): model=models.Book.objects.filter(parent=None) return newtagging_views.tagged_object_list( -- 2.20.1