Skip to content

Commit cbd444f

Browse files
committed
fix but with urls on stats question selection page
was only using question number and not number and part for some urls which confuses things where there are multiple parts.
1 parent 91ce266 commit cbd444f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crowdsourcer/templates/crowdsourcer/stats_select_question.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ <h1 class="mb-4">Question Data</h1>
2828
{{ q.number_and_part }} - {{ q.description }}
2929
</td>
3030
<td class="align-middle">
31-
<a href="{% session_url 'question_data_csv' 'first_mark' section q.number %}" class="d-flex align-items-center">
31+
<a href="{% session_url 'question_data_csv' 'first_mark' section q.number_and_part %}" class="d-flex align-items-center">
3232
{% include 'crowdsourcer/icons/download.svg' with classes='me-2' %}
3333
<span class="visually-hidden">Download</span> CSV
3434
</a>
3535
</td>
3636
<td class="align-middle">
37-
<a href="{% session_url 'ror_question_data_csv' section q.number %}" class="d-flex align-items-center">
37+
<a href="{% session_url 'ror_question_data_csv' section q.number_and_part %}" class="d-flex align-items-center">
3838
{% include 'crowdsourcer/icons/download.svg' with classes='me-2' %}
3939
<span class="visually-hidden">Download</span> CSV
4040
</a>

0 commit comments

Comments
 (0)