Sort collections of media element by title

master
Felix Stupp 2 years ago
parent 41cd85ebbe
commit 01c1276a90
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -62,7 +62,7 @@
</ul>
<h2>Part of Collections</h2>
<ul>
{% for link in element.collection_links %}
{% for link in element.collection_links|sort(attribute="collection.title") %}
<li>
<a href="{{ link.collection.info_link }}">{{ link.collection.title }}</a>
{%- if link.season != 0 -%}

Loading…
Cancel
Save