diff --git a/library/Icinga/Web/Url.php b/library/Icinga/Web/Url.php index ac8e7af22..4f978370b 100644 --- a/library/Icinga/Web/Url.php +++ b/library/Icinga/Web/Url.php @@ -219,10 +219,9 @@ class Url public function addFilter($and) { $this->setQueryString( - Filter::matchAll( - $and, - Filter::fromQueryString($this->getQueryString()) - )->toQueryString() + Filter::fromQueryString($this->getQueryString()) + ->andFilter($and) + ->toQueryString() ); return $this; }