mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 09:23:39 +01:00
Disable Date Range option in Filter Box if the to_date already provided
This commit is contained in:
parent
f68826496b
commit
ba5847b5bd
@ -173,7 +173,7 @@
|
||||
<option id="filterBuilderSelect-Keywords" value="Keywords"{% if query_params.search_string %} disabled{% endif %}>
|
||||
{% trans "Keywords" %}
|
||||
</option>
|
||||
<option id="filterBuilderSelect-Dates" value="Dates"{% if query_params.filtering.created__gte %} disabled{% endif %}>
|
||||
<option id="filterBuilderSelect-Dates" value="Dates"{% if query_params.filtering.created__gte or query_params.filtering.created__lte %} disabled{% endif %}>
|
||||
{% trans "Date Range" %}
|
||||
</option>
|
||||
<option id="filterBuilderSelect-KBItems" value="KBItems"{% if query_params.filtering.kbitem__in %} disabled{% endif %}>
|
||||
|
Loading…
Reference in New Issue
Block a user