Similar to group_firstchar, but always uses the title column from the rsc table.

This is merely a shortcut, simplifying the template syntax:

{% for cols in[...]|group_title_firstchar:4 %}
      {% for group in cols %}
      <b>{{ group.first }}</b>
      {% for id in group.result %}
          {{ id.title }}
      {% endfor %}
   {% endfor %}
{% endfor %}

Groups alphabetically on title, in four columns.

Edit on GitHub

group_firstchar Resource lists is_a

Referred by


Filters transform template variables before they are rendered.