monitoring/list: do not apply empty filter
Fixes problems with the servicematrix when no filter is applied. I'm not yet happy with this, calls to where() should automagically handle existing empty filters. fixes #6543
This commit is contained in:
parent
9a6821c860
commit
2b05aa9504
|
@ -524,7 +524,9 @@ class Monitoring_ListController extends Controller
|
|||
'query' => $query
|
||||
));
|
||||
}
|
||||
$query->applyFilter($filter);
|
||||
if (! $filter->isEmpty()) {
|
||||
$query->applyFilter($filter);
|
||||
}
|
||||
$this->view->filter = $filter;
|
||||
if ($sort) {
|
||||
$query->order($sort, $dir);
|
||||
|
|
Loading…
Reference in New Issue