# group\_title\_firstchar

Source: https://zotonic.com/docs/1295/group_title_firstchar

URI: https://zotonic.com/id/1295

Language: en



Similar to <a href="/id/doc_template_filter_filter_group_firstchar" class="doc-reference doc-reference-filter"><code>filter#group_firstchar</code></a>, but always uses the `title` column from the rsc table.

This is merely a shortcut, simplifying the template syntax:

```django
<table>
{% for cols in m.search[...]|group_title_firstchar:4 %}
   <td>
      {% for group in cols %}
      <b>{{ group.first }}</b>
      {% for id in group.result %}
      <li>
          {{ id.title }}
      </li>
      {% endfor %}
   {% endfor %}
   </td>
{% endfor %}
</table>
```

Groups alphabetically on title, in four columns.

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/1295?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/1295?language=en>)
