Display sql in developer tab in ContributionDetail report
authoreileen <emcnaughton@wikimedia.org>
Mon, 22 Feb 2016 20:51:02 +0000 (09:51 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 22 Feb 2016 20:51:02 +0000 (09:51 +1300)
Change-Id: Ia4626ced7f00344825a7bc66e1718d7e2505856d

CRM/Report/Form/Member/ContributionDetail.php

index 8ead99bd24d9e761399ae15cab3ad653ff6b33ac..9cab1db6aeb9546166a7b619d04cf5a302a7371f 100644 (file)
@@ -590,6 +590,7 @@ class CRM_Report_Form_Member_ContributionDetail extends CRM_Report_Form {
     }
 
     $sql = "{$this->_select} {$this->_from} {$this->_where} {$this->_groupBy} {$this->_having} {$this->_orderBy} {$this->_limit}";
+    $this->addToDeveloperTab($sql);
     return $sql;
   }