CRM-17251 - Book-keeping report displays rows inaccurately when contribution amount...
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Thu, 24 Sep 2015 11:06:50 +0000 (16:36 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Thu, 24 Sep 2015 11:06:50 +0000 (16:36 +0530)
CRM/Report/Form/Contribute/Bookkeeping.php

index 7bc436b8cb864e5db92f1912161c36eeaa00022c..e084aefe927e0ba01f62e7e19789a79ee2441bba 100644 (file)
@@ -484,7 +484,7 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form {
   }
 
   public function groupBy() {
-    $this->_groupBy = " GROUP BY  {$this->_aliases['civicrm_contribution']}.id, {$this->_aliases['civicrm_line_item']}.id ";
+    $this->_groupBy = " GROUP BY  {$this->_aliases['civicrm_entity_financial_trxn']}.id, {$this->_aliases['civicrm_line_item']}.id ";
   }
 
   /**