FIX : Allow to set bookmarks on list filtered by multiselect fields

This commit is contained in:
Adrien Raze 2021-06-14 10:02:44 +02:00
parent 65f8405ca4
commit 0f91c4cfa2

View File

@ -53,7 +53,7 @@ function printDropdownBookmarksList()
{
foreach ($_POST as $key => $val)
{
if (preg_match('/^search_/', $key) && $val != '') $tmpurl .= ($tmpurl ? '&' : '').$key.'='.$val;
if (preg_match('/^search_/', $key) && $val != '') $tmpurl .= ($tmpurl ? '&' : '').http_build_query(array($key => $val));
}
}
$url .= ($tmpurl ? '?'.$tmpurl : '');