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