Skip to content

Commit

Permalink
Removed DataContainer constants to continue supporting Contao version…
Browse files Browse the repository at this point in the history
… 4.9 (#110)
  • Loading branch information
doishub committed Apr 11, 2022
1 parent 0c5ff65 commit 48d4583
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Resources/contao/dca/tl_cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
(
'sorting' => array
(
'mode' => DataContainer::MODE_PARENT,
'mode' => 4,
'fields' => array('sorting'),
'headerFields' => array('title'),
'panelLayout' => 'limit',
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/contao/dca/tl_cookie_config.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
(
'sorting' => array
(
'mode' => DataContainer::MODE_SORTABLE,
'mode' => 2,
'fields' => array('title'),
'flag' => 1,
'panelLayout' => 'sort,search,limit'
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/contao/dca/tl_cookie_group.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
(
'sorting' => array
(
'mode' => DataContainer::MODE_PARENT,
'mode' => 4,
'fields' => array('sorting'),
'headerFields' => array('title'),
'panelLayout' => 'limit',
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/contao/dca/tl_cookie_log.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
(
'sorting' => array
(
'mode' => DataContainer::MODE_SORTABLE,
'mode' => 2,
'fields' => array('tstamp'),
'flag' => 2,
'panelLayout' => 'filter;sort,search,limit'
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/contao/dca/tl_cookiebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
(
'sorting' => array
(
'mode' => DataContainer::MODE_SORTED,
'mode' => 1,
'fields' => array('title'),
'flag' => 1,
'panelLayout' => 'search,limit'
Expand Down

0 comments on commit 48d4583

Please sign in to comment.