Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-13903

Allow custom table join clause to override

    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');

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              deepak Deepak Srivastava
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: