mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +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(){
|
checked.each(function(){
|
||||||
nbSelectedColls++;
|
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()
|
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 input:checkbox.field_switch').removeAttr('checked');
|
||||||
$('#sbasfiltercont .datepicker').val('');
|
$('#sbasfiltercont .datepicker').val('');
|
||||||
$('form.adv_search_bind input:text').val('');
|
$('form.adv_search_bind input:text').val('');
|
||||||
|
Reference in New Issue
Block a user