CRM-14680 - ensure custom tables included in sql statement
authorJamie McClelland <jm@mayfirst.org>
Tue, 13 May 2014 14:32:46 +0000 (10:32 -0400)
committerJamie McClelland <jm@mayfirst.org>
Tue, 13 May 2014 14:32:46 +0000 (10:32 -0400)
Fix for the Contribution Aggregate by Relationship report.

----------------------------------------
* CRM-14680: Contribution Aggregate by Relationship report fails with custom contribution field
  https://issues.civicrm.org/jira/browse/CRM-14680

CRM/Report/Form/Contribute/History.php

index 413588a7fbb9600409e0a1a8a8eade2b358d5798..4a3b4bbe2f624cd223fb064981605ddc5fa22193 100644 (file)
@@ -495,6 +495,7 @@ class CRM_Report_Form_Contribute_History extends CRM_Report_Form {
     $this->select();
     $this->where();
     $this->from();
+    $this->customDataFrom();
     $this->groupBy();
 
     $rows = array();