monitoring: Fix renamed index in the HostdowntimeendhistoryQuery

refs #9956
This commit is contained in:
Eric Lippmann 2015-09-29 23:04:47 +02:00
parent 185c0b43be
commit 58c630b7ef
1 changed files with 3 additions and 3 deletions

View File

@ -29,11 +29,11 @@ class HostdowntimeendhistoryQuery extends HostdowntimestarthistoryQuery
{ {
parent::joinBaseTables(true); parent::joinBaseTables(true);
$this->select->where("hdh.actual_end_time > '1970-01-02 00:00:00'"); $this->select->where("hdh.actual_end_time > '1970-01-02 00:00:00'");
$this->columnMap['history']['type'] = "('dt_end')"; $this->columnMap['downtimehistory']['type'] = "('dt_end')";
$this->columnMap['history']['timestamp'] = str_replace( $this->columnMap['downtimehistory']['timestamp'] = str_replace(
'actual_start_time', 'actual_start_time',
'actual_end_time', 'actual_end_time',
$this->columnMap['history']['timestamp'] $this->columnMap['downtimehistory']['timestamp']
); );
} }
} }