fnp
/
wolnelektury.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
170d4d7
)
Show children books in sets if they were explicitly added.
author
Marek Stępniowski
<marek@stepniowski.com>
Wed, 24 Sep 2008 08:39:22 +0000
(10:39 +0200)
committer
Marek Stępniowski
<marek@stepniowski.com>
Wed, 24 Sep 2008 08:39:22 +0000
(10:39 +0200)
apps/catalogue/views.py
patch
|
blob
|
history
diff --git
a/apps/catalogue/views.py
b/apps/catalogue/views.py
index
257d472
..
f574c13
100644
(file)
--- 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(