X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9a938c8b406ce05e3bca4a5a483d473ece9e17b0..de08100bad0d82b2823453ecccaa66fd7521cd41:/src/catalogue/templatetags/catalogue_tags.py diff --git a/src/catalogue/templatetags/catalogue_tags.py b/src/catalogue/templatetags/catalogue_tags.py index 6f50ad77c..c02a5d74f 100644 --- 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 = []