From: jitendrapurohit Date: Thu, 24 Sep 2015 11:06:50 +0000 (+0530) Subject: CRM-17251 - Book-keeping report displays rows inaccurately when contribution amount... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=fb1860ed307022e01ce6d037a49c7ecdd0403654;p=civicrm-core.git CRM-17251 - Book-keeping report displays rows inaccurately when contribution amount has been edited --- diff --git a/CRM/Report/Form/Contribute/Bookkeeping.php b/CRM/Report/Form/Contribute/Bookkeeping.php index 7bc436b8cb..e084aefe92 100644 --- a/CRM/Report/Form/Contribute/Bookkeeping.php +++ b/CRM/Report/Form/Contribute/Bookkeeping.php @@ -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 "; } /**