diff --git a/composer.json b/composer.json index 79502c7..fbb5059 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ ], "require": { "php": "^8.1", - "contao/core-bundle": "^4.13", + "contao/core-bundle": "^4.13 || ^5.3", "contao/manager-plugin": "^2.3.1", "doctrine/dbal": "^3.3", "symfony/config": "^5.4 || ^6.0", diff --git a/src/EventListener/LoadDataContainerListener.php b/src/EventListener/LoadDataContainerListener.php index 6b24d0a..1317f2f 100644 --- a/src/EventListener/LoadDataContainerListener.php +++ b/src/EventListener/LoadDataContainerListener.php @@ -45,6 +45,7 @@ public function __invoke(string $table): void $GLOBALS['TL_DCA'][$table]['list']['sorting']['fields'] = ['sorting']; $GLOBALS['TL_DCA'][$table]['list']['operations']['drag'] = [ + 'href' => '#', 'icon' => 'drag.svg', 'attributes' => 'class="drag-handle" aria-hidden="true"', ];