From bca865068a924cde09625fe7bb5f42236251a71a Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Sun, 11 Jun 2023 02:38:02 +0200 Subject: [PATCH] Fixed upcoming date sorting. --- assets/js/get-date-range.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/get-date-range.js b/assets/js/get-date-range.js index e43215a1..63998377 100755 --- a/assets/js/get-date-range.js +++ b/assets/js/get-date-range.js @@ -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',