Merge pull request #13419 from atm-gauthier/9.0_search_status_on_bookmarks

FIX : when we filter a list on a view status, we want this filter to …
This commit is contained in:
Laurent Destailleur 2020-03-25 18:44:40 +01:00 committed by GitHub
commit a7ba23d845
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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:'');