FilterEditor: Apply the filter on the query internally

refs #9029
This commit is contained in:
Johannes Meyer 2015-08-13 11:33:25 +02:00
parent 069fcc40ea
commit fc35f3e46b
2 changed files with 5 additions and 1 deletions

View File

@ -284,6 +284,11 @@ class FilterEditor extends AbstractWidget
if ($add) {
$this->addFilterToId($add);
}
if ($request->isGet()) {
$this->query->applyFilter($this->getFilter());
}
return $this;
}

View File

@ -625,7 +625,6 @@ class Monitoring_ListController extends Controller
->ignoreParams('page')
->setSearchColumns($dataView->getSearchColumns())
->handleRequest($this->getRequest());
$dataView->applyFilter($editor->getFilter());
$this->setupFilterControl($editor);
$this->view->filter = $editor->getFilter();