Skip to content

Commit

Permalink
sort events by start time
Browse files Browse the repository at this point in the history
  • Loading branch information
michellelin1 committed Mar 4, 2024
1 parent 1d90b14 commit fcf8a14
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routes/publishedSchedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit fcf8a14

Please sign in to comment.