fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
newsletter stub
[wolnelektury.git]
/
src
/
catalogue
/
templatetags
/
catalogue_tags.py
diff --git
a/src/catalogue/templatetags/catalogue_tags.py
b/src/catalogue/templatetags/catalogue_tags.py
index
6f50ad7
..
c02a5d7
100644
(file)
--- a/
src/catalogue/templatetags/catalogue_tags.py
+++ b/
src/catalogue/templatetags/catalogue_tags.py
@@
-325,6
+325,7
@@
def tag_list(tags, choices=None, category=None, list_type='books'):
other = other.filter(items__content_type=ct).distinct()
if list_type == 'audiobooks':
other = other.filter(id__in=get_audiobook_tags())
+ other = other.only('name', 'slug', 'category')
else:
other = []