Repository: EasyCorp/EasyAdminBundle (language: php)

Issue:
Reset filter with pretty urls redirect to dashboard
**Describe the bug**
Trying to reset set filters on a crud index page leads to the dashboard instead of the index page of the crud controller.

It happens when calling a URL with a filters parameter or setting a filter.

**To Reproduce**
Set a filter on a crud index page and try to reset them. 

**Additional context**
Template: crud/index.html.twig line 56

Looking into the `AdminUrlGenerator` around line 116, it seems like the routeParameter does not contain a crudControllerFqcn or a crudAction and therefore can not generate the correct url. Interestingly the call to render the renderFilters endpoint for the filter button a few lines earlier, works just fine.



Discussion / hints:

Fix patch:
diff --git a/templates/crud/index.html.twig b/templates/crud/index.html.twig
index b09da793b2..dd6851e6b7 100644
--- a/templates/crud/index.html.twig
+++ b/templates/crud/index.html.twig
@@ -53,7 +53,7 @@
                         <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 %}
                     </a>
                     {% if applied_filters %}
-                        <a href="{{ ea_url().unset('filters') }}" class="btn btn-secondary action-filters-reset">
+                        <a href="{{ ea_url().unset('filters').setAction('index') }}" class="btn btn-secondary action-filters-reset">
                             <twig:ea:Icon name="internal:xmark" />
                         </a>
                     {% endif %}


Test patch: