From be428a80140411a91ef5dca128705b400f79cf37 Mon Sep 17 00:00:00 2001 From: Jamie McClelland Date: Fri, 10 Aug 2018 16:09:15 -0400 Subject: [PATCH] filter current employer report by all groups Code only filtered by static groups before. https://lab.civicrm.org/dev/core/issues/320 --- CRM/Report/Form/Contact/CurrentEmployer.php | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/CRM/Report/Form/Contact/CurrentEmployer.php b/CRM/Report/Form/Contact/CurrentEmployer.php index aef934e7fa..67466c8cb6 100644 --- a/CRM/Report/Form/Contact/CurrentEmployer.php +++ b/CRM/Report/Form/Contact/CurrentEmployer.php @@ -189,22 +189,9 @@ class CRM_Report_Form_Contact_CurrentEmployer extends CRM_Report_Form { ), ), ), - '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(), - ), - ), - ), ); + $this->_groupFilter = TRUE; $this->_tagFilter = TRUE; parent::__construct(); } -- 2.25.1