Fixed upcoming date sorting.

This commit is contained in:
DebaucheryLibrarian 2023-06-11 02:38:02 +02:00
parent 35245ca03f
commit bca865068a
1 changed files with 1 additions and 1 deletions

View File

@ -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',