mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
ServicegroupController: Don't apply id filter using the FilterProcessor
Ids are binary strings which may contain asterisks. These are then interpreted as wildcard by the filter processor.
This commit is contained in:
parent
4e1bd775f9
commit
d19b238efd
1 changed files with 2 additions and 6 deletions
|
|
@ -47,13 +47,9 @@ class ServicegroupController extends Controller
|
|||
'state',
|
||||
'host',
|
||||
'host.state'
|
||||
]);
|
||||
|
||||
FilterProcessor::apply(
|
||||
new FilterExpression('servicegroup.id', '=', $this->servicegroup->id),
|
||||
$services
|
||||
);
|
||||
])->utilize('servicegroup');
|
||||
|
||||
$services->getSelectBase()->where(['service_servicegroup.id = ?' => $this->servicegroup->id]);
|
||||
$this->applyMonitoringRestriction($services);
|
||||
|
||||
$limitControl = $this->createLimitControl();
|
||||
|
|
|
|||
Loading…
Reference in a new issue