{% extends "collection/serialize/table/table.html" %}
{% import "macros/form.html" as form %}
{% set sort_name = collection.name ~ ":sort" %}
{% set sort_value = collection.params.sort %}
{% block table %}
{{ super() }}
{% endblock table %}
{% block header_cell %}
{% if is_sortable %}
{# use button that updates hidden field and submits the
form instead of the link, to keep all active filters #}
{% else %}
{{ collection.columns.labels[col] or col }}
{% endif %}
{% endblock %}