Skip to content

Commit 360984e

Browse files
committedNov 28, 2024
bug #6594 Fix reset filter link (fracsi)
This PR was merged into the 4.x branch. Discussion ---------- Fix reset filter link Fixes #6591 Commits ------- 2d0986c Fix reset filter link
2 parents 4b41dd2 + 2d0986c commit 360984e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎templates/crud/index.html.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<twig:ea:Icon name="internal:filter" /> {{ t('filter.title', ea.i18n.translationParameters, 'EasyAdminBundle')|trans }}{% if applied_filters %} <span class="action-filters-button-count">({{ applied_filters|length }})</span>{% endif %}
5454
</a>
5555
{% if applied_filters %}
56-
<a href="{{ ea_url().unset('filters') }}" class="btn btn-secondary action-filters-reset">
56+
<a href="{{ ea_url().unset('filters').setAction('index') }}" class="btn btn-secondary action-filters-reset">
5757
<twig:ea:Icon name="internal:xmark" />
5858
</a>
5959
{% endif %}

0 commit comments

Comments
 (0)