Skip to content

Commit

Permalink
Merge pull request #12685 from MegaphoneJon/fix-pledge-report-group-f…
Browse files Browse the repository at this point in the history
…ilter

Replicate fix on PR #12643 for pledge report
  • Loading branch information
yashodha authored Aug 17, 2018
2 parents 984e763 + 321b8a1 commit c67496c
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions CRM/Report/Form/Pledge/Pbnp.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,20 +181,6 @@ public function __construct() {
'fields' => array('email' => NULL),
'grouping' => 'contact-fields',
),
'civicrm_group' => array(
'dao' => 'CRM_Contact_DAO_Group',
'alias' => 'cgroup',
'filters' => array(
'gid' => array(
'name' => 'group_id',
'title' => ts('Group'),
'type' => CRM_Utils_Type::T_INT,
'group' => TRUE,
'operatorType' => CRM_Report_Form::OP_MULTISELECT,
'options' => CRM_Core_PseudoConstant::staticGroup(),
),
),
),
);

// If we have a campaign, build out the relevant elements
Expand All @@ -211,6 +197,7 @@ public function __construct() {
);
}

$this->_groupFilter = TRUE;
$this->_tagFilter = TRUE;
$this->_currencyColumn = 'civicrm_pledge_currency';
parent::__construct();
Expand Down

0 comments on commit c67496c

Please sign in to comment.