|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block main %} |
|
|
{% block main %} |
|
|
{% block main_prepend %}{% endblock %} |
|
|
{% block main_prepend %}{% endblock %} |
|
|
<div class="col-12" id="{% block index_id %}{% endblock index_id %}"> |
|
|
|
|
|
|
|
|
{% set _block_index_id = block('index_id') %} |
|
|
|
|
|
|
|
|
|
|
|
<div {% if _block_index_id %}id="{% block index_id %}{% endblock index_id %}"{% endif %}> |
|
|
{# sort can be multiple; let's consider the sorting field the first one #} |
|
|
{# sort can be multiple; let's consider the sorting field the first one #} |
|
|
{% set sort_field_name = app.request.get('sort')|keys|first %} |
|
|
{% set sort_field_name = app.request.get('sort')|keys|first %} |
|
|
{% set sort_order = app.request.get('sort')|first %} |
|
|
{% set sort_order = app.request.get('sort')|first %} |