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…
Reference in New Issue