Add marker sorting

This commit is contained in:
David Molineus
2015-01-08 15:29:07 +01:00
parent 7f79125495
commit 685c9ae1d4
2 changed files with 7 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_marker'] = array
'sorting' => array
(
'mode' => 4,
'fields' => array('title'),
'fields' => array('sorting'),
'flag' => 1,
'headerFields' => array('title', 'type'),
'child_record_callback' => array('Netzmacht\Contao\Leaflet\Dca\Marker', 'generateRow'),
@@ -123,6 +123,10 @@ $GLOBALS['TL_DCA']['tl_leaflet_marker'] = array
(
'sql' => "int(10) unsigned NOT NULL default '0'"
),
'sorting' => array
(
'sql' => "int(10) unsigned NOT NULL default '0'"
),
'pid' => array
(
'sql' => "int(10) unsigned NOT NULL default '0'"