X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/66ab038f6f74eb2ebcaf945cf85bb0d7813f791c..af43a678694121f8b7c81a52a64d02c1b024fc57:/src/catalogue/templatetags/catalogue_tags.py 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: