From 321b8a10269ef47b59030c9751069c6882b8351d Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Fri, 17 Aug 2018 07:51:21 -0400 Subject: [PATCH] Replicate fix on PR #12643 for pledge report --- CRM/Report/Form/Pledge/Pbnp.php | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/CRM/Report/Form/Pledge/Pbnp.php b/CRM/Report/Form/Pledge/Pbnp.php index 6658257a278..d0d20efec4d 100644 --- a/CRM/Report/Form/Pledge/Pbnp.php +++ b/CRM/Report/Form/Pledge/Pbnp.php @@ -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 @@ -211,6 +197,7 @@ public function __construct() { ); } + $this->_groupFilter = TRUE; $this->_tagFilter = TRUE; $this->_currencyColumn = 'civicrm_pledge_currency'; parent::__construct();