FilterEditor: Only apply the filter if a query is set

refs #9029
This commit is contained in:
Johannes Meyer 2015-08-17 13:43:48 +02:00
parent 57ea5d6d5a
commit f7b0e6956d
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}