projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea2745a
)
CRM-13051 pledge detail report provides inaccurate totals
author
eileen
<eileen@fuzion.co.nz>
Sun, 14 Jul 2013 02:59:29 +0000
(14:59 +1200)
committer
eileen
<eileen@fuzion.co.nz>
Thu, 22 Aug 2013 11:05:42 +0000
(23:05 +1200)
Conflicts:
packages
CRM/Report/Form/Pledge/Detail.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Report/Form/Pledge/Detail.php
b/CRM/Report/Form/Pledge/Detail.php
index 6fcf5c4aca7fdd25693d1816ed49a32be4e8cbaa..6d179b8e0201c71f0e45dee31b99211f2b4a9016 100644
(file)
--- a/
CRM/Report/Form/Pledge/Detail.php
+++ b/
CRM/Report/Form/Pledge/Detail.php
@@
-293,7
+293,10
@@
class CRM_Report_Form_Pledge_Detail extends CRM_Report_Form {
function statistics(&$rows) {
$statistics = parent::statistics($rows);
-
+ //regenerate the from field without extra left join on pledge payments
+ $this->_totalPaid = FALSE;
+ $this->from();
+ $this->customDataFrom();
if (!$this->_having) {
$totalAmount = $average = array();
$count = 0;