{% include 'htmx/table.html' %}
{# Replace (or clear) the catalog error shown above the table #}
{% include 'ndx/inc/catalog_error.html' %}
{# The table holds a single page of results, so replace the count of its rows with the total number of results #}
{% if request.htmx %}
{{ table.page.paginator.count }}
{# Update the quick filters to retain the current query (e.g. after a quick search) #}
{% include 'ndx/inc/catalog_quick_filters.html#type_filters' with swap_oob=True %}
{% include 'ndx/inc/catalog_quick_filters.html#vendor_filter_params' with swap_oob=True %}
{% include 'ndx/inc/catalog_quick_filters.html#clear_filters' with swap_oob=True %}
{% endif %}