mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 09:38:23 +01:00
The deprecated GET parameter "&sall=" has been removed, use now the
"&search_all=".
This commit is contained in:
@@ -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 ,
|
||||
|
||||
Reference in New Issue
Block a user