diff --git a/src/Resources/views/themes/base.html.twig b/src/Resources/views/themes/base.html.twig index ce627be3..19c7c1a2 100755 --- a/src/Resources/views/themes/base.html.twig +++ b/src/Resources/views/themes/base.html.twig @@ -208,7 +208,9 @@ {% block pagination_per_page_message 'Items per page'|trans %} {% block pagination_per_page_form %} -
+ {% set form_attr = { 'data-turbo-frame': '_self' }|merge(form_attr ?? {}) %} + + {% set url_query_parameters = [] %} {# @@ -230,7 +232,7 @@ {% set select_attr = { name: data_table.vars.per_page_parameter_name, - onchange: 'this.form.submit()', + onchange: 'this.form.requestSubmit()', autocomplete: 'off', }|merge(select_attr|default({})) %}