Add organization to problem search

This commit is contained in:
cuom1999 2021-02-20 01:36:16 -06:00
parent 5a892f5a17
commit ffb6797c64
3 changed files with 34 additions and 4 deletions

View file

@ -31,6 +31,16 @@
{% if show_editorial %} checked{% endif %}>
<label for="show_editorial">{{ _('Show editorial') }}</label>
</div>
<div class="filter-form-group">
<label for="type"><i>{{ _('Organization') }}</i></label>
<select id="search-org" name="orgs" multiple>
{% for org in organizations %}
<option value="{{ org.id }}"{% if org.id in org_query %} selected{% endif %}>
{{ org.name }}
</option>
{% endfor %}
</select>
</div>
<div class="filter-form-group">
<label for="category"><i>{{ _('Category') }}</i></label>
<select id="category" name="category">
@ -45,6 +55,7 @@
</option>
{% endfor %}
</select>
</div>
{% if show_types %}
<div class="filter-form-group">