From e32ac38af12ed9c139e772a77621e07ba430a971 Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 9 Oct 2015 10:37:31 +1300 Subject: [PATCH] CRM-17144 add developer tab to lybunt Change-Id: Ifd21ea255bebd6a218eb4693ea7bfa386360f348 --- CRM/Report/Form/Contribute/Lybunt.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Report/Form/Contribute/Lybunt.php b/CRM/Report/Form/Contribute/Lybunt.php index 62227a7c13..bd8b5489e3 100644 --- a/CRM/Report/Form/Contribute/Lybunt.php +++ b/CRM/Report/Form/Contribute/Lybunt.php @@ -435,7 +435,7 @@ class CRM_Report_Form_Contribute_Lybunt extends CRM_Report_Form { $rows = $this->_contactIds = array(); $this->limit(); $getContacts = "SELECT SQL_CALC_FOUND_ROWS {$this->_aliases['civicrm_contact']}.id as cid {$this->_from} {$this->_where} GROUP BY {$this->_aliases['civicrm_contact']}.id {$this->_limit}"; - + $this->addToDeveloperTab($getContacts); $dao = CRM_Core_DAO::executeQuery($getContacts); while ($dao->fetch()) { @@ -449,7 +449,7 @@ class CRM_Report_Form_Contribute_Lybunt extends CRM_Report_Form { if (!empty($this->_contactIds) || !empty($this->_params['charts'])) { $sql = "{$this->_select} {$this->_from} WHERE {$this->_aliases['civicrm_contact']}.id IN (" . implode(',', $this->_contactIds) . ") AND {$this->_aliases['civicrm_contribution']}.is_test = 0 {$this->_statusClause} {$this->_groupBy} "; - + $this->addToDeveloperTab($sql); $dao = CRM_Core_DAO::executeQuery($sql); $current_year = $this->_params['yid_value']; $previous_year = $current_year - 1; -- 2.25.1