parent
7b176261f8
commit
480becd3d6
|
@ -112,7 +112,8 @@ class HostgroupsummaryQuery extends IdoQuery
|
|||
);
|
||||
$this->subQueries[] = $services;
|
||||
$this->summaryQuery = $this->db->select()->union(array($hosts, $services), Zend_Db_Select::SQL_UNION_ALL);
|
||||
$this->select->from(array('statussummary' => $this->summaryQuery), array())->group('hostgroup_name');
|
||||
$this->select->from(array('statussummary' => $this->summaryQuery), array());
|
||||
$this->group('hostgroup_name');
|
||||
$this->joinedVirtualTables['hoststatussummary'] = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue