mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-09-13 13:08:09 +02:00
Use service status query again for the service group summary
This commit is contained in:
parent
a3ac61c0ef
commit
754b48fb6b
@ -61,7 +61,7 @@ class ServicegroupsummaryQuery extends IdoQuery
|
||||
{
|
||||
// TODO(el): Allow to switch between hard and soft service_states
|
||||
$subQuery = $this->createSubQuery(
|
||||
'Servicegroup',
|
||||
'Servicestatus',
|
||||
array(
|
||||
'servicegroup_alias',
|
||||
'servicegroup_name',
|
||||
@ -70,6 +70,7 @@ class ServicegroupsummaryQuery extends IdoQuery
|
||||
)
|
||||
);
|
||||
$subQuery->setIsSubQuery(true);
|
||||
$subQuery->select()->where('sgo.name1 IS NOT NULL');
|
||||
$this->subQuery = $subQuery;
|
||||
$this->select->from(array('servicesgroupsummary' => $this->subQuery), array());
|
||||
$this->group(array('servicegroup_name'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user