PrestaShop, change the default status list filter is deployed to a folded

PrestaShop 1.5.6
When you switch to the directory with the goods, the standard behavior of the display filters properties in the expanded state. How to change this behavior otherwise?
The treatment site and clicks the location button(the character) found:

https://github.com/PrestaShop/PrestaShop/tree/development/modules/blocklayered

File blocklayered.js:

openCloseFilter function()
{
 $('#layered_form span.layered_close a').live('click', function(e)
{
 if ($(this).html() == '<')
{
$('#'+$(this).attr('rel')).show();
$(this).html('v');
$(this).parent().removeClass('closed');
}
else
{
$('#'+$(this).attr('rel')).hide();
$(this).html('<');
$(this).parent().addClass('closed');
}

e.preventDefault();
});
}


In the file blocklayered.tpl form itself (for example in line 88.)

October 3rd 19 at 02:07

Find more questions by tags JavaScriptPHPPrestashop