PHRAS-2430_Advance_search_refacto_add created_on and updated_on

This commit is contained in:
Harrys
2019-02-14 17:06:03 +04:00
parent 53f0ab60e7
commit 7937532b90

View File

@@ -449,13 +449,15 @@
</div> </div>
</label> </label>
<span> <span>
<select name="date_field" class="input-medium check-filters" data-save="true" style="width: 166px;"> <select name="date_field" class="date-field input-medium check-filters" data-save="true" style="width: 166px;">
<option selected="selected" <option selected="selected"
value="">{{ 'Rechercher dans un champ date' | trans }}</option> value="">{{ 'Rechercher dans un champ date' | trans }}</option>
{% for fieldname, date in search_datas['dates'] %} {% for fieldname, date in search_datas['dates'] %}
<option <option
class="dbx db_{{date['sbas']|join(' db_')}}" value="{{ fieldname }}">{{ fieldname }}</option> class="dbx db_{{date['sbas']|join(' db_')}}" value="{{ fieldname }}">{{ fieldname }}</option>
{% endfor %} {% endfor %}
<option value="updated_on">{{ 'updated_on' | trans }}</option>
<option value="created_on">{{ 'created_on' | trans }}</option>
</select> </select>
</span> </span>
<span id="ADVSRCH_DATE_SELECTORS" style="display: inline-block;height: 26px;line-height: 26px;"> <span id="ADVSRCH_DATE_SELECTORS" style="display: inline-block;height: 26px;line-height: 26px;">