The deprecated GET parameter "&sall=" has been removed, use now the

"&search_all=".
This commit is contained in:
Laurent Destailleur
2024-11-07 12:25:31 +01:00
parent 7c5c08f8b4
commit 31f147622a
53 changed files with 87 additions and 73 deletions

View File

@@ -968,7 +968,7 @@ function GETPOST($paramname, $check = 'alphanohtml', $method = 0, $filter = null
if ($qualified && isset($user->default_values[$relativepathstring]['filters'][$defkey][$paramname])) {
// We must keep $_POST and $_GET here
if (isset($_POST['sall']) || isset($_POST['search_all']) || isset($_GET['sall']) || isset($_GET['search_all'])) {
if (isset($_POST['search_all']) || isset($_GET['search_all'])) {
// We made a search from quick search menu, do we still use default filter ?
if (!getDolGlobalString('MAIN_DISABLE_DEFAULT_FILTER_FOR_QUICK_SEARCH')) {
$forbidden_chars_to_replace = array(" ", "'", "/", "\\", ":", "*", "?", "\"", "<", ">", "|", "[", "]", ";", "="); // we accept _, -, . and ,