mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-03 00:15:46 +02:00
Removed filtering for last followup
This commit is contained in:
parent
b7b04166fc
commit
e5906184df
@ -1,20 +0,0 @@
|
||||
{% load i18n humanize %}
|
||||
<div class="form-row">
|
||||
<div class="col col-sm-3">
|
||||
<label for='id_followup_from'>{% trans "Date (From)" %}</label>
|
||||
</div>
|
||||
<div class="col col-sm-3">
|
||||
<input type='text' name='followup_from' value='{{ query_params.filtering.followup__gte }}' id='id_followup_from' />
|
||||
</div>
|
||||
<div class="col col-sm-2">
|
||||
<label for='id_followup_to'>{% trans "Date (To)" %}</label>
|
||||
</div>
|
||||
<div class="col col-sm-3">
|
||||
<input type='text' name='followup_to' value='{{ query_params.filtering.followup__lte }}' id='id_followup_to' />
|
||||
</div>
|
||||
<div class="col col-sm-1">
|
||||
<button class='float-right filterBuilderRemove btn btn-danger btn-sm'><i class="fas fa-trash-alt"></i></button>
|
||||
</div>
|
||||
|
||||
<p class='filterHelp'>{% trans "Use YYYY-MM-DD date format, eg 2018-01-30. This only searches when the last followup occured" %}</p>
|
||||
</div>
|
@ -189,9 +189,6 @@
|
||||
<option id="filterBuilderSelect-KBItems" value="KBItems"{% if query_params.filtering.kbitem__in or query_params.filtering_null.kbitem__isnull %} disabled{% endif %}>
|
||||
{% trans "Knowledge base items" %}
|
||||
</option>
|
||||
<option id="filterBuilderSelect-Followup" value="Followup"{% if query_params.filtering.followup__gte or query_params.filtering.followup__lte %} disabled{% endif %}>
|
||||
{% trans "Last Followup" %}
|
||||
</option>
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
@ -228,10 +225,6 @@
|
||||
id="filterBoxKBItems">
|
||||
{% include 'helpdesk/filters/kbitems.html' %}
|
||||
</li>
|
||||
<li class="list-group-item filterBox{% if query_params.filtering.followup__gte or query_params.filtering.followup__lte %} filterBoxShow{% endif %}"
|
||||
id='filterBoxFollowupDates'>
|
||||
{% include 'helpdesk/filters/followupdates.html' %}
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<input class="btn btn-primary btn-sm" type='submit' value='{% trans "Apply Filters" %}'/>
|
||||
</li>
|
||||
|
Loading…
x
Reference in New Issue
Block a user