mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 19:11:33 +03:00
TSK-1248: fix dueDate sorting order (#3013)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
7fdb585dda
commit
e5825c29dc
@ -262,7 +262,7 @@ export function createModel (builder: Builder): void {
|
|||||||
orderBy: [
|
orderBy: [
|
||||||
['state', SortingOrder.Ascending],
|
['state', SortingOrder.Ascending],
|
||||||
['modifiedOn', SortingOrder.Descending],
|
['modifiedOn', SortingOrder.Descending],
|
||||||
['dueDate', SortingOrder.Descending],
|
['dueDate', SortingOrder.Ascending],
|
||||||
['rank', SortingOrder.Ascending]
|
['rank', SortingOrder.Ascending]
|
||||||
],
|
],
|
||||||
other: [
|
other: [
|
||||||
|
@ -625,7 +625,7 @@ export function createModel (builder: Builder): void {
|
|||||||
orderBy: [
|
orderBy: [
|
||||||
['state', SortingOrder.Ascending],
|
['state', SortingOrder.Ascending],
|
||||||
['modifiedOn', SortingOrder.Descending],
|
['modifiedOn', SortingOrder.Descending],
|
||||||
['dueDate', SortingOrder.Descending],
|
['dueDate', SortingOrder.Ascending],
|
||||||
['rank', SortingOrder.Ascending]
|
['rank', SortingOrder.Ascending]
|
||||||
],
|
],
|
||||||
other: [
|
other: [
|
||||||
|
@ -490,7 +490,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],
|
||||||
['dueDate', SortingOrder.Descending],
|
['dueDate', SortingOrder.Ascending],
|
||||||
['rank', SortingOrder.Ascending]
|
['rank', SortingOrder.Ascending]
|
||||||
],
|
],
|
||||||
other: [
|
other: [
|
||||||
@ -607,7 +607,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],
|
||||||
['dueDate', SortingOrder.Descending]
|
['dueDate', SortingOrder.Ascending]
|
||||||
],
|
],
|
||||||
groupDepth: 1,
|
groupDepth: 1,
|
||||||
other: []
|
other: []
|
||||||
@ -686,7 +686,7 @@ export function createModel (builder: Builder): void {
|
|||||||
orderBy: [
|
orderBy: [
|
||||||
['priority', SortingOrder.Ascending],
|
['priority', SortingOrder.Ascending],
|
||||||
['modifiedOn', SortingOrder.Descending],
|
['modifiedOn', SortingOrder.Descending],
|
||||||
['dueDate', SortingOrder.Descending],
|
['dueDate', SortingOrder.Ascending],
|
||||||
['rank', SortingOrder.Ascending]
|
['rank', SortingOrder.Ascending]
|
||||||
],
|
],
|
||||||
other: []
|
other: []
|
||||||
|
@ -102,7 +102,7 @@ export const issuesSortOrderMap: Record<IssuesOrderByKeys, SortingOrder> = {
|
|||||||
status: SortingOrder.Ascending,
|
status: SortingOrder.Ascending,
|
||||||
priority: SortingOrder.Ascending,
|
priority: SortingOrder.Ascending,
|
||||||
modifiedOn: SortingOrder.Descending,
|
modifiedOn: SortingOrder.Descending,
|
||||||
dueDate: SortingOrder.Descending,
|
dueDate: SortingOrder.Ascending,
|
||||||
rank: SortingOrder.Ascending
|
rank: SortingOrder.Ascending
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user