Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion templates/crud/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

<th data-column="{{ field.property }}" class="{{ is_searchable ? 'searchable' }} {{ is_sorting_field ? 'sorted' }} {{ field.isVirtual ? 'field-virtual' }} header-for-{{ field.cssClass|split(' ')|filter(class => class starts with 'field-')|join('') }} text-{{ field.textAlign }}" dir="{{ ea.i18n.textDirection }}">
{% 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}) %}

<a href="{{ sortable_url }}">
{{ field.label|trans|raw }} <twig:ea:Icon name="{{ column_icon }}" />
Expand Down
1 change: 1 addition & 0 deletions tests/Functional/PrettyUrlsApp/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
<ini name="error_reporting" value="-1" />
<env name="APP_ENV" value="test" force="true" />
<env name="APP_DEBUG" value="true" force="true" />
<env name="SYMFONY_PHPUNIT_VERSION" value="10" force="true" />
<env name="SHELL_VERBOSITY" value="-1" />
<env name="KERNEL_CLASS" value="EasyCorp\Bundle\EasyAdminBundle\Tests\Functional\PrettyUrlsApp\Kernel" />
</php>
Expand Down
1 change: 0 additions & 1 deletion tests/Functional/PrettyUrlsApp/src/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ protected function configureContainer(ContainerConfigurator $container, LoaderIn
'dbal' => [
'driver' => 'pdo_sqlite',
'path' => '%kernel.cache_dir%/database.sqlite',
'use_savepoints' => true,
],

'orm' => [
Expand Down
Loading