From f7b0e6956df2110d068a3062a75318c76995ec9b Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Mon, 17 Aug 2015 13:43:48 +0200 Subject: [PATCH] FilterEditor: Only apply the filter if a query is set refs #9029 --- library/Icinga/Web/Widget/FilterEditor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Widget/FilterEditor.php b/library/Icinga/Web/Widget/FilterEditor.php index bb8cc8599..bf933ed52 100644 --- a/library/Icinga/Web/Widget/FilterEditor.php +++ b/library/Icinga/Web/Widget/FilterEditor.php @@ -305,7 +305,7 @@ class FilterEditor extends AbstractWidget $this->addFilterToId($add); } - if ($request->isGet()) { + if ($this->query !== null && $request->isGet()) { $this->query->applyFilter($this->getFilter()); }