From a3b74fe6d045876e85064c76c5dff6037920fcad Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 29 Sep 2015 22:26:05 +0200 Subject: [PATCH] monitoring: Fix renamed index in the HostcommentdeletionhistoryQuery refs #9956 --- .../Backend/Ido/Query/HostcommentdeletionhistoryQuery.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostcommentdeletionhistoryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostcommentdeletionhistoryQuery.php index a9c8f5f82..99b841b3a 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostcommentdeletionhistoryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostcommentdeletionhistoryQuery.php @@ -27,15 +27,15 @@ class HostcommentdeletionhistoryQuery extends HostcommenthistoryQuery { parent::joinBaseTables(); $this->select->where("hch.deletion_time > '1970-01-02 00:00:00'"); - $this->columnMap['history']['timestamp'] = str_replace( + $this->columnMap['commenthistory']['timestamp'] = str_replace( 'comment_time', 'deletion_time', - $this->columnMap['history']['timestamp'] + $this->columnMap['commenthistory']['timestamp'] ); - $this->columnMap['history']['type'] = str_replace( + $this->columnMap['commenthistory']['type'] = str_replace( 'END)', "END || '_deleted')", - $this->columnMap['history']['type'] + $this->columnMap['commenthistory']['type'] ); } }