diff --git a/app/routes/events-team_.outstanding.tsx b/app/routes/events-team_.outstanding.tsx index b5d6d7e..17ed3e2 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);", + "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'));", ) .bind(month, year) .all();