Skip to content

Commit

Permalink
CONCD-996 fixed a bug where the correct option was not being shown as…
Browse files Browse the repository at this point in the history
… selected
  • Loading branch information
rasarkar committed Dec 11, 2024
1 parent bec1772 commit 22ee54d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1>Completed Campaigns</h1>
<select id="research-center">
<option value="all"{% if 'research_center' not in request.GET %} selected{% endif %}>All Research Centers</option>
{% for research_center in research_centers %}
<option value="{{ research_center.pk }}"{% if request.GET.research_center == research_center.pk %} selected{% endif %}>
<option value="{{ research_center.pk }}"{% if request.GET.research_center|add:"0" == research_center.pk %} selected{% endif %}>
{{ research_center.title }}
</option>
{% endfor %}
Expand Down

0 comments on commit 22ee54d

Please sign in to comment.