We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5bc660 commit 981fb76Copy full SHA for 981fb76
templates/crud/index.html.twig
@@ -106,7 +106,7 @@
106
107
{% set ea_sort_asc = constant('EasyCorp\\Bundle\\EasyAdminBundle\\Config\\Option\\SortOrder::ASC') %}
108
{% set ea_sort_desc = constant('EasyCorp\\Bundle\\EasyAdminBundle\\Config\\Option\\SortOrder::DESC') %}
109
- {% for field in fields|filter(f => f.isAccessible) %}
+ {% for field in fields %}
110
{% set is_searchable = null == ea.crud.searchFields or field.property in ea.crud.searchFields %}
111
{% set is_sorting_field = ea.search.isSortingField(field.property) %}
112
{% set next_sort_direction = is_sorting_field ? (ea.search.sortDirection(field.property) == ea_sort_desc ? ea_sort_asc : ea_sort_desc) : ea_sort_desc %}
0 commit comments