fix date lookup filters

This commit is contained in:
bkfox
2022-08-07 10:48:31 +02:00
parent 9c147b2a6d
commit 520f5ad0d8
4 changed files with 8 additions and 5 deletions

View File

@ -10,9 +10,9 @@
onsubmit="return this.{{ choice.name }}.value ? true : false"">
<label for="filter-{{ choice.name }}">{{ choice.label }}: </label>
<input id="filter-{{ choice.name }}" type="{{ choice.type }}" name="{{ choice.name }}"
value="{{ choice.value }}" {{ choice.extra }} />
value="{{ choice.value }}" {{ choice.extra }}/>
{% for k, v in choice.query_attrs.items %}
<input type="hidden" name="{{k}}" value="{{v}}" />
<input type="hidden" name="{{k}}" value="{{v}}"/>
{% endfor %}
<button class="button"><img src="{% static "admin/img/search.svg" %}" /></button>
</form>