5450 Posts in 1672 Topics by 1197 members
|Go to End|
30 September 2010 at 10:14am
i need to keep the sort order from a complextablefield in modeladmin after i closed the Edit/Show/... Popup from the selected Dataobject.
i have for example a real long list of dates in a complextablefield. and sort ASC. Now if i open the edit / show popup to edit or just see the object and close it again the complextablefield will be refreshed automaticly to the default sort order.
Can i somehow override that ? (Keep the sortorder, but refresh the DataObjects if something changes)
thanks in advance for any clue
30 September 2010 at 11:01pm
Hi best I could advise to to set a default sort for that dataobject... that will help a sort order persist...
static $default_sort = 'ID DESC';
|Go to Top|