Merge pull request #4341 from Icinga/fix/quick-search-double-encodes-query-values-4321
Don't double encode query param values when using the quick search
This commit is contained in:
commit
d0642587e4
|
@ -288,7 +288,10 @@ class FilterEditor extends AbstractWidget
|
|||
$url = Url::fromRequest()->onlyWith($this->preserveParams);
|
||||
$urlParams = $url->getParams();
|
||||
$url->setQueryString($filter->toQueryString());
|
||||
$url->getParams()->mergeValues($urlParams->toArray(false));
|
||||
foreach ($urlParams->toArray(false) as $key => $value) {
|
||||
$url->getParams()->addEncoded($key, $value);
|
||||
}
|
||||
|
||||
$this->redirectNow($url);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue