forked from DebaucheryLibrarian/traxxx
Fixed upcoming date sorting.
This commit is contained in:
parent
35245ca03f
commit
bca865068a
|
@ -12,7 +12,7 @@ const dateRanges = {
|
||||||
upcoming: () => ({
|
upcoming: () => ({
|
||||||
after: dayjs.utc().toDate(),
|
after: dayjs.utc().toDate(),
|
||||||
before: '2100-01-01',
|
before: '2100-01-01',
|
||||||
orderBy: ['EFFECTIVE_DATE_DESC'],
|
orderBy: ['EFFECTIVE_DATE_ASC'],
|
||||||
}),
|
}),
|
||||||
new: () => ({
|
new: () => ({
|
||||||
after: '1900-01-01 00:00:00',
|
after: '1900-01-01 00:00:00',
|
||||||
|
|
Loading…
Reference in New Issue