forked from Wavyzz/dolibarr
Fix filter on current user is stupi on the view "per user".
This commit is contained in:
@@ -545,7 +545,9 @@ function calendars_prepare_head($param)
|
||||
$h++;
|
||||
}
|
||||
|
||||
$head[$h][0] = DOL_URL_ROOT.'/comm/action/peruser.php'.($param?'?'.$param:'');
|
||||
$newparam = $param;
|
||||
$newparam = preg_replace('/&?search_filtert=\d+/', '', $newparam);
|
||||
$head[$h][0] = DOL_URL_ROOT.'/comm/action/peruser.php'.($newparam?'?'.$newparam:'');
|
||||
$head[$h][1] = $langs->trans("ViewPerUser");
|
||||
$head[$h][2] = 'cardperuser';
|
||||
$h++;
|
||||
|
||||
Reference in New Issue
Block a user