Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Order outstanding events by day
  • Loading branch information
regalijan committed Dec 2, 2024
1 parent eff7ddf commit a7d5b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/events-team_.outstanding.tsx
Expand Up @@ -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();
Expand Down

0 comments on commit a7d5b32

Please sign in to comment.