Skip to content

Commit

Permalink
Contao 5.3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
sheeep committed Aug 12, 2024
1 parent 4a2e75e commit 4e763c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/EventListener/LoadDataContainerListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"',
];
Expand Down

0 comments on commit 4e763c4

Please sign in to comment.