Skip to content
Snippets Groups Projects
Commit 062cac24 authored by Martin Burchell's avatar Martin Burchell
Browse files

Remember location selection

parent 2e421b9d
No related branches found
No related tags found
1 merge request!102Filter fixes
Pipeline #3048 failed
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<select id="location-selector" name="location" class="form-control"> <select id="location-selector" name="location" class="form-control">
<option value="All Locations" selected="selected">All Locations</option> <option value="All Locations" selected="selected">All Locations</option>
{% for location in locations.items %} {% for location in locations.items %}
<option value="{{ location }}">{{ location | title }}</option> <option value="{{ location }}"{% if location == request.GET.location %} selected="selected"{% endif %}>{{ location | title }}</option>
{% endfor %} {% endfor %}
</select> </select>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment