5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1001 Views |
-
Modeladmin: Keep table sort order after popup close

30 September 2010 at 10:14am
hi everybody,
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
matze
-
Re: Modeladmin: Keep table sort order after popup close

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';
| 1001 Views | ||
|
Page:
1
|
Go to Top |


