Skip to content

Commit

Permalink
monitoring: Fix renamed index in the ServicedowntimeendhistoryQuery
Browse files Browse the repository at this point in the history
refs #9956
  • Loading branch information
lippserd committed Sep 30, 2015
1 parent c4ac3cb commit 0f622fe
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("sdh.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 0f622fe

Please sign in to comment.