mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
add possibility to use sortkey as preset (#9765)
This commit is contained in:
@@ -350,7 +350,7 @@ export abstract class BaseTaskListCloudComponent<T = unknown>
|
|||||||
setSorting(sortDetail) {
|
setSorting(sortDetail) {
|
||||||
const sorting = sortDetail
|
const sorting = sortDetail
|
||||||
? {
|
? {
|
||||||
orderBy: sortDetail.key,
|
orderBy: sortDetail.sortingKey || sortDetail.key,
|
||||||
direction: sortDetail.direction.toUpperCase()
|
direction: sortDetail.direction.toUpperCase()
|
||||||
}
|
}
|
||||||
: { ...this.defaultSorting };
|
: { ...this.defaultSorting };
|
||||||
|
Reference in New Issue
Block a user