Never reset date sort settings, remove date field choser

This commit is contained in:
Romain Neutron
2013-09-17 14:12:36 +02:00
parent 391d84ca56
commit 0047d0fc36
4 changed files with 2 additions and 12 deletions

View File

@@ -335,7 +335,7 @@
<span>{% trans 'Trier par ' %}</span>
<select name="sort" class="input-small">
{% for sort, sort_name in app['phraseanet.SE'].getAvailableSort() %}
<option value="{{ sort }}" {% if sort == app['phraseanet.SE'].getDefaultSort() %}selected="selected"{% endif %}>{{ sort_name }}</option>
<option value="{{ sort }}" {% if sort == app['phraseanet.SE'].getDefaultSort() %}selected="selected" class="default-selection"{% endif %}>{{ sort_name }}</option>
{% endfor %}
</select>
<select name="ord" class="input-medium">