diff --git a/templates/crud/index.html.twig b/templates/crud/index.html.twig index 95fd4d1e7f..f9ecec99a5 100644 --- a/templates/crud/index.html.twig +++ b/templates/crud/index.html.twig @@ -118,7 +118,7 @@ {% if field.isSortable %} - {% set sortable_url = ea_url().setController(ea.request.attributes.get('crudControllerFqcn')).setAction('index').set('page', 1).set('sort', { (field.property): next_sort_direction }) %} + {% set sortable_url = ea_url().setController(ea.request.attributes.get('crudControllerFqcn')).setAction('index').set('page', 1).set('sort', {(field.property): next_sort_direction}) %} {{ field.label|trans|raw }} diff --git a/tests/Functional/PrettyUrlsApp/phpunit.xml.dist b/tests/Functional/PrettyUrlsApp/phpunit.xml.dist index 489775198e..3895e1e279 100644 --- a/tests/Functional/PrettyUrlsApp/phpunit.xml.dist +++ b/tests/Functional/PrettyUrlsApp/phpunit.xml.dist @@ -11,6 +11,7 @@ + diff --git a/tests/Functional/PrettyUrlsApp/src/Kernel.php b/tests/Functional/PrettyUrlsApp/src/Kernel.php index 138f6570bc..9e3f05a1ca 100644 --- a/tests/Functional/PrettyUrlsApp/src/Kernel.php +++ b/tests/Functional/PrettyUrlsApp/src/Kernel.php @@ -87,7 +87,6 @@ protected function configureContainer(ContainerConfigurator $container, LoaderIn 'dbal' => [ 'driver' => 'pdo_sqlite', 'path' => '%kernel.cache_dir%/database.sqlite', - 'use_savepoints' => true, ], 'orm' => [