From 1f040df1e9cd24f3d3c54770607f3a5ded11af16 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 29 Sep 2015 22:36:24 +0200 Subject: [PATCH] monitoring: Fix renamed index in the ServicecommentdeletionhistoryQuery refs #9956 --- .../Ido/Query/ServicecommentdeletionhistoryQuery.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicecommentdeletionhistoryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicecommentdeletionhistoryQuery.php index 69e49e1ea..1632b1a18 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicecommentdeletionhistoryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicecommentdeletionhistoryQuery.php @@ -27,15 +27,15 @@ class ServicecommentdeletionhistoryQuery extends ServicecommenthistoryQuery { parent::joinBaseTables(); $this->select->where("sch.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['history']['type'] = str_replace( + $this->columnMap['commenthistory']['type'] = str_replace( 'END)', "END || '_deleted')", - $this->columnMap['history']['type'] + $this->columnMap['commenthistory']['type'] ); } }