@tubedogg wrote:
I have a task that uses task-level notifications, and a notify template which iterates through the entries. I would like to sort those entries by title. I see
dictsort
in Jinja's documentation, but I'm not sure if it's the right way to go, or how to apply it to my template (below). Any ideas?{% if task.accepted -%} {% for group in task.accepted|groupby('task') -%} {% for entry in group.list -%} {{entry.title}} {% endfor %} {%- endfor %} {%- endif %}
Posts: 1
Participants: 1