Skip to content
Snippets Groups Projects
Commit 1ac6be8e authored by Martin Mareš's avatar Martin Mareš
Browse files

fixup! fixup! Diplomy/UI: Přehled ocenění studentů pro školní garanty

parent 7776e9f4
No related branches found
No related tags found
No related merge requests found
...@@ -361,6 +361,7 @@ def org_school_results(school_id: int): ...@@ -361,6 +361,7 @@ def org_school_results(school_id: int):
.join(db.Contest.participations) .join(db.Contest.participations)
.filter(db.Contest.contest_id == db.Contest.master_contest_id, .filter(db.Contest.contest_id == db.Contest.master_contest_id,
db.Participation.user_id.in_(select(pants_subq)), db.Participation.user_id.in_(select(pants_subq)),
db.Participation.year == config.CURRENT_YEAR,
db.Participation.state == db.PartState.active) db.Participation.state == db.PartState.active)
.group_by(db.Contest.contest_id) .group_by(db.Contest.contest_id)
.all()) .all())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment