Skip to content

Commit

Permalink
filter current employer report by all groups
Browse files Browse the repository at this point in the history
Code only filtered by static groups before.

https://lab.civicrm.org/dev/core/issues/320
  • Loading branch information
jmcclelland committed Aug 10, 2018
1 parent 9c13ddf commit be428a8
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions CRM/Report/Form/Contact/CurrentEmployer.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,22 +189,9 @@ public function __construct() {
),
),
),
'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();
}
Expand Down

0 comments on commit be428a8

Please sign in to comment.