mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Fix #1574 : Set correct date sort on advanced search reset
This commit is contained in:
@@ -234,7 +234,7 @@ function checkFilters(save)
|
||||
|
||||
checked.each(function(){
|
||||
nbSelectedColls++;
|
||||
search.bases[sbas_id].push($this.val());
|
||||
search.bases[sbas_id].push($(this).val());
|
||||
});
|
||||
});
|
||||
|
||||
@@ -341,7 +341,7 @@ function clearAnswers(){
|
||||
|
||||
function reset_adv_search()
|
||||
{
|
||||
$('#sbasfiltercont select').val('');
|
||||
$('#sbasfiltercont select[name="sort"]').val($('#sbasfiltercont select[name="sort"] option.default-selection').attr('value'));
|
||||
$('#sbasfiltercont input:checkbox.field_switch').removeAttr('checked');
|
||||
$('#sbasfiltercont .datepicker').val('');
|
||||
$('form.adv_search_bind input:text').val('');
|
||||
|
Reference in New Issue
Block a user