Skip to content

Commit 6d65290

Browse files
committed
Fix filtering on affiliations.
Previously, we were printing the external id here but filtering on the internal one. Fixes #2706
1 parent bba7850 commit 6d65290

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

webapp/templates/jury/partials/submission_list.html.twig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,17 @@
9393
{%- set link = path('jury_submission', {submitId: submission.submitid}) %}
9494
{%- endif %}
9595

96+
{% if submission.team.affiliation %}
97+
{% set affilid = submission.team.affiliation.affilid %}
98+
{% else %}
99+
{% set affilid = '' %}
100+
{% endif %}
101+
96102
<tr class="{% if not submission.valid %}ignore{% endif %}"
97103
data-problem-id="{{ submission.problem.probid }}"
98104
data-team-id="{{ submission.team.teamid }}"
99105
data-category-id="{{ submission.team.category.categoryid }}"
100-
data-affiliation-id="{{ submission.team.affiliationId }}"
106+
data-affiliation-id="{{ affilid }}"
101107
data-language-id="{{ submission.language.langid }}"
102108
data-submission-id="{{ submission.submitid }}"
103109
data-result="{{ submission | printValidJurySubmissionResult(false) }}">

0 commit comments

Comments
 (0)