Closed zerodogg closed 5 months ago
You can fix it by specifying the titleProp
:
{{ collections.tags | renderAsList({ titleProp: 'label' }) | safe }}
The property of the tags collection has been renamed from title
to label
in v0.18.0, that's why the default configuration of the renderAsList
doesn't work anymore with the tags collection.
The code above should work so you can proceed with the update. But I will keep the issue open and either update the changelog page to mention this use case (the update of the collection is already mentioned) or extend the filter to support both collections out of the box.
Thanks! :)
Fixed in v0.23.2
Doing a rather large upgrade, from 0.9.0 to 0.23.1. This used to render a list of tags:
{{ collections.tags | renderAsList | safe }}
. It currently renders a list of links with no text.v0.9.0 produces:
v0.23.1 produces:
Complete example template: