Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Merge requests
!38
Draft: Dělená kola
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Closed
Draft: Dělená kola
jirka/delena-kola
into
devel
Overview
1
Commits
7
Changes
1
Closed
Draft: Dělená kola
Jiří Setnička
requested to merge
jirka/delena-kola
into
devel
Mar 4, 2021
Overview
1
Commits
7
Changes
1
Issue
#178 (closed)
0
0
Merge request reports
Viewing commit
939cecbf
Show latest version
1 file
+
2
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
939cecbf
contest FIX
· 939cecbf
Jiří Setnička
authored
Mar 5, 2021
mo/web/org_contest.py
+
2
−
2
View file @ 939cecbf
Show full file
@@ -281,7 +281,7 @@ def contest_breadcrumbs(
if
round
:
round_id
=
round
.
round_id
if
round
.
is_subround
():
elements
.
append
((
url_for
(
'
org_round
'
,
id
=
round
.
parent
_id
),
round
.
round_code
()))
elements
.
append
((
url_for
(
'
org_round
'
,
id
=
round
.
master_round
_id
),
round
.
round_code
()))
elements
.
append
((
url_for
(
'
org_round
'
,
id
=
round_id
),
f
'
Podkolo
{
round
.
name
}
'
))
else
:
elements
.
append
((
url_for
(
'
org_round
'
,
id
=
round_id
),
round
.
round_code
()))
@@ -346,7 +346,7 @@ def org_contest(id: int, site_id: Optional[int] = None):
sess
.
query
(
db
.
Place
,
func
.
count
(
'
*
'
))
.
select_from
(
db
.
Participation
).
join
(
db
.
Place
)
.
group_by
(
db
.
Place
)
.
filter
(
db
.
Participation
.
contest_id
==
id
).
all
()
.
filter
(
db
.
Participation
.
contest_id
==
contest
.
master_contest_
id
).
all
()
)
return
render_template
(
Loading