mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-14 23:26:15 -05:00
@@ -99,6 +99,7 @@ function getTournamentsWithOrg(): TournamentWithOrg[] {
|
||||
INNER JOIN CalendarEvent ce ON ce.tournamentId = t.id
|
||||
INNER JOIN CalendarEventDate ced ON ced.eventId = ce.id
|
||||
WHERE t.isFinalized = 1
|
||||
AND ce.hidden = 0
|
||||
ORDER BY ced.startTime ASC
|
||||
`;
|
||||
return sql.prepare(query).all() as TournamentWithOrg[];
|
||||
|
||||
Reference in New Issue
Block a user