From a7d5b323433bfccdb2085ffed958eff52b24d85f Mon Sep 17 00:00:00 2001 From: Regalijan Date: Mon, 2 Dec 2024 17:57:08 -0500 Subject: [PATCH] Order outstanding events by day --- app/routes/events-team_.outstanding.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/events-team_.outstanding.tsx b/app/routes/events-team_.outstanding.tsx index 17ed3e2..caa315e 100644 --- a/app/routes/events-team_.outstanding.tsx +++ b/app/routes/events-team_.outstanding.tsx @@ -38,7 +38,7 @@ export async function loader({ context }: { context: RequestContext }) { } const data = await context.env.D1.prepare( - "SELECT day, details, id FROM events WHERE approved = 1 AND month = ? AND year = ? AND (performed_at IS NULL OR (reached_minimum_player_count = 0 AND type = 'gamenight'));", + "SELECT day, details, id FROM events WHERE approved = 1 AND month = ? AND year = ? AND (performed_at IS NULL OR (reached_minimum_player_count = 0 AND type = 'gamenight')) ORDER BY day;", ) .bind(month, year) .all();