i have a DOM set up like this
// setup event manager
$manager = new DataObjectManager(
$this, // Controller
'PrgEvents', // Source name
'PrgEvent', // Source class
'DayInMonth' => 'Tag',
'Title' => 'Titel der Veranstaltung',
'Tagline' => 'Kurzbeschreibung',
'DOMThumbnail' => 'Flyer',
'FeatureYesNo' => 'Feature',
The sorting works fine when i first open the DOM, but after adding a new DataObject the sorting defaults back to what i believe is "Created" instead of "DayInMonth".
Is there a simple way to override this behaviour?
Alternatively, is there a way to disable column sorting altogether for a DOM, and only and always sort by a specific field?
I searched the forums for a while now but could not find a solution. Any help would be greatly appreciated!