Hi,
Is it possible to sort by latest by default when we go to SEARCH.php
In search.php I tried to modify :
in the function showMatchProfiles($iBlockID) {
the line $sSort = isset($_REQUEST['sort']) ? $_REQUEST['sort'] : 'none';
by $sSort = isset($_REQUEST['sort']) ? $_REQUEST['sort'] : 'date_reg';
but it didn't worked.
Is someone knows how to do it ?
Thanks