StatusSummaryQuery: Rename baseQuery to select

This commit is contained in:
Eric Lippmann 2014-04-15 18:12:00 +02:00
parent 2ba1ef4793
commit 734c329caa
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ class StatusSummaryQuery extends IdoQuery
'object_type' => '(\'service\')'
));
$union = $this->db->select()->union(array($hosts, $services), Zend_Db_Select::SQL_UNION_ALL);
$this->baseQuery = $this->db->select()->from(array('statussummary' => $union), array());
$this->select->from(array('statussummary' => $union), array());
$this->joinedVirtualTables = array(
'servicestatussummary' => true,
'hoststatussummary' => true