From dd7c537cc6e7c11c20d9b7d9aabae48840b59fc3 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Wed, 20 Nov 2024 17:03:37 -0500 Subject: [PATCH] Don't check for unsolved riddles on outstanding events page --- 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 886fb1b..9c40f92 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 OR answered_at IS NULL);", + "SELECT day, details, id FROM events WHERE approved = 1 AND month = ? AND year = ? AND (performed_at IS NULL OR reached_minimum_player_count = 0);", ) .bind(month, year) .all();