mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-06 21:44:25 +02:00
parent
b128bef8f0
commit
b9479e7da4
@ -103,7 +103,6 @@ class ServicegroupQuery extends IdoQuery
|
||||
'sgm.service_object_id = so.object_id',
|
||||
array()
|
||||
);
|
||||
$this->group('sgo.name1');
|
||||
}
|
||||
|
||||
/**
|
||||
@ -118,4 +117,17 @@ class ServicegroupQuery extends IdoQuery
|
||||
array()
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getGroup()
|
||||
{
|
||||
$group = array();
|
||||
if ($this->hasJoinedVirtualTable('serviceobjects')) {
|
||||
$group = array('sg.servicegroup_id', 'sgo.object_id');
|
||||
}
|
||||
|
||||
return $group;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user