FIX : when we filter a list on a view status, we want this filter to be on bookmark that we create

This commit is contained in:
gauthier 2020-03-25 10:27:59 +01:00
parent 7afbb5ce9c
commit 81af385259

View File

@ -61,7 +61,7 @@ function printBookmarksList($aDb, $aLangs)
{
foreach($_POST as $key => $val)
{
if (preg_match('/^search_/', $key) && $val != '') $tmpurl.=($tmpurl?'&':'').$key.'='.$val;
if ((preg_match('/^search_/', $key) || in_array($key, array('viewstatut')) ) && $val != '') $tmpurl.=($tmpurl?'&':'').$key.'='.$val;
}
}
$url.=($tmpurl?'?'.$tmpurl:'');