From fcf8a1432199586b5220c439e92280237c41d4f4 Mon Sep 17 00:00:00 2001 From: michellelin1 Date: Mon, 4 Mar 2024 15:11:40 -0800 Subject: [PATCH] sort events by start time --- routes/publishedSchedule.js | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/publishedSchedule.js b/routes/publishedSchedule.js index 0008790..b33a70d 100644 --- a/routes/publishedSchedule.js +++ b/routes/publishedSchedule.js @@ -198,6 +198,7 @@ publishedScheduleRouter.get('/season', async (req, res) => { WHERE D.event_date >= $1::date AND D.event_date <= $2::date AND D.id = PS.day_id + ORDER BY PS.start_time ASC ) SELECT event_date, json_build_object (