mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 21:50:34 +03:00
TSK-1257: add sorting by create time (#3138)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
e719dc14ed
commit
a41990f7ab
@ -496,6 +496,7 @@ export function createModel (builder: Builder): void {
|
|||||||
['status', SortingOrder.Ascending],
|
['status', SortingOrder.Ascending],
|
||||||
['priority', SortingOrder.Ascending],
|
['priority', SortingOrder.Ascending],
|
||||||
['modifiedOn', SortingOrder.Descending],
|
['modifiedOn', SortingOrder.Descending],
|
||||||
|
['createOn', SortingOrder.Descending],
|
||||||
['dueDate', SortingOrder.Ascending],
|
['dueDate', SortingOrder.Ascending],
|
||||||
['rank', SortingOrder.Ascending]
|
['rank', SortingOrder.Ascending]
|
||||||
],
|
],
|
||||||
@ -623,6 +624,7 @@ export function createModel (builder: Builder): void {
|
|||||||
['status', SortingOrder.Ascending],
|
['status', SortingOrder.Ascending],
|
||||||
['priority', SortingOrder.Ascending],
|
['priority', SortingOrder.Ascending],
|
||||||
['modifiedOn', SortingOrder.Descending],
|
['modifiedOn', SortingOrder.Descending],
|
||||||
|
['createOn', SortingOrder.Descending],
|
||||||
['dueDate', SortingOrder.Ascending]
|
['dueDate', SortingOrder.Ascending]
|
||||||
],
|
],
|
||||||
groupDepth: 1,
|
groupDepth: 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user