X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/51c43b2690ff814ec4b744c630c0b3f48294dbb0..7e819d97960b7df890ca60e4717fc6efc3163593:/src/catalogue/templatetags/catalogue_tags.py?ds=inline diff --git a/src/catalogue/templatetags/catalogue_tags.py b/src/catalogue/templatetags/catalogue_tags.py index 6ee177713..1d5cee0db 100644 --- a/src/catalogue/templatetags/catalogue_tags.py +++ b/src/catalogue/templatetags/catalogue_tags.py @@ -106,7 +106,7 @@ def nice_title_from_tags(tags, related_tags): # No info on genre, but there's only one kind related. subpieces = [] pieces.append([ - t.collective_noun or t.name for t in self['kind'] + t.collective_noun or t.name for t in related_tags['kind'] ]) plural = False else: