Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.2
-
Fix Version/s: 4.4.3
-
Component/s: None
-
Labels:None
Description
Example : when we want to Include Campaign custom fields in contribution report, Just saying
protected $_customGroupExtends = array('Campaign');
won't help, since the joining clause would be different than usual.
With the PR : https://github.com/civicrm/civicrm-core/pull/2150
The contribution report could just say:
protected $_customGroupExtends = array('Campaign');
protected $customGroupExtendsJoin = array('Campaign' => 'contributioncivireport.campaign_id');