Fix icingacli monitoring list --problems

fixes 
This commit is contained in:
Eric Lippmann 2016-04-13 13:51:43 +02:00
parent 8034e9de23
commit 855e7f7120

@ -55,6 +55,9 @@ class ListCommand extends Command
$query->limit($limit, $this->params->shift('offset'));
}
foreach ($this->params->getParams() as $col => $filter) {
if (strtolower($col) === 'problems') {
$col = 'service_problem';
}
$query->where($col, $filter);
}
// $query->applyFilters($this->params->getParams());