Skip to content

Commit

Permalink
monitoring: Fix renamed index in the HostdowntimeendhistoryQuery
Browse files Browse the repository at this point in the history
refs #9956
  • Loading branch information
lippserd committed Sep 29, 2015
1 parent 185c0b4 commit 58c630b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ protected function joinBaseTables()
{
parent::joinBaseTables(true);
$this->select->where("hdh.actual_end_time > '1970-01-02 00:00:00'");
$this->columnMap['history']['type'] = "('dt_end')";
$this->columnMap['history']['timestamp'] = str_replace(
$this->columnMap['downtimehistory']['type'] = "('dt_end')";
$this->columnMap['downtimehistory']['timestamp'] = str_replace(
'actual_start_time',
'actual_end_time',
$this->columnMap['history']['timestamp']
$this->columnMap['downtimehistory']['timestamp']
);
}
}

0 comments on commit 58c630b

Please sign in to comment.