mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
[FilterOrder] add a method to get all the active filters
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if btnSubmit == 1 %}
|
||||
<div class="row my-2">
|
||||
<button type="submit" class="btn btn-sm btn-misc"><i class="fa fa-fw fa-filter"></i>{{ 'Filter'|trans }}</button>
|
||||
@@ -93,6 +93,17 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% set active = helper.getActiveFilters() %}
|
||||
{% if active|length > 0 %}
|
||||
<div>
|
||||
{% for f in active %}
|
||||
<span class="{{ f.position }} {{ f.name }}">{% if f.label != '' %}{{ f.label|trans }} : {% endif %}{{ f.value }}</span>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% for k,v in otherParameters %}
|
||||
|
Reference in New Issue
Block a user