Allow custom initial sort order when requesting records for datatables

Description

The DataManager._getObjectRecordsForAjaxDataTables() method currently defaults to the @datamanagerDefaultSortOrder set on the object, unless specific column sorting has been requested by clicking on a column header.

However, in some cases it is desirable to have more than one sort order on an object for different contexts, so it is desirable to be able to pass an orderBy attribute to the method, which would be used instead of the default (but only when column sorting is not specified in the request context scope).

Assignee

Seb Duggan

Reporter

Seb Duggan

Labels

None

Accepted

Yes

Fix versions

Priority

Medium
Configure