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)
committermonishdeb <monish.deb@webaccessglobal.com>
Wed, 30 Sep 2015 12:50:57 +0000 (18:20 +0530)
CRM/Report/Form/Contribute/Bookkeeping.php

index 9eac3a9c296c0d5bda4c06d54a71a954dbaf8618..b6f2ba1e1729f6b2362e2b742153c99eedce4750 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 ";
   }
 
   /**