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:
Johannes Meyer 2020-03-06 14:49:19 +01:00
parent 4e1bd775f9
commit d19b238efd

View file

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