diff --git a/library/Icinga/Web/Widget/FilterEditor.php b/library/Icinga/Web/Widget/FilterEditor.php index ca4c5b63f..d43b27699 100644 --- a/library/Icinga/Web/Widget/FilterEditor.php +++ b/library/Icinga/Web/Widget/FilterEditor.php @@ -24,6 +24,12 @@ class FilterEditor extends AbstractWidget protected $query; + protected $url; + + protected $preserveParams = array(); + + protected $ignoreParams = array(); + /** * @var string */ @@ -76,6 +82,18 @@ class FilterEditor extends AbstractWidget return $this; } + public function ignoreParams() + { + $this->ignoreParams = func_get_args(); + return $this; + } + + public function preserveParams() + { + $this->preserveParams = func_get_args(); + return $this; + } + protected function select($name, $list, $selected, $attributes = null) { $view = $this->view();