diff --git a/Civi/DataProcessor/FilterHandler/ContactInGroupFilter.php b/Civi/DataProcessor/FilterHandler/ContactInGroupFilter.php index e1821fcea2e57f195b6f68fd8087176de65cc39c..6e6be47631eee54b499b3ba582e4d22f58812882 100644 --- a/Civi/DataProcessor/FilterHandler/ContactInGroupFilter.php +++ b/Civi/DataProcessor/FilterHandler/ContactInGroupFilter.php @@ -48,6 +48,15 @@ class ContactInGroupFilter extends AbstractFieldFilterHandler { * @return mixed */ public function setFilter($filter) { + switch ($filter['op']) { + case '=': + $filter['op'] = 'IN'; + break; + + case '!=': + $filter['op'] = 'NOT IN'; + break; + } $this->resetFilter(); $dataFlow = $this->dataSource->ensureField($this->inputFieldSpecification); $group_ids = $filter['value'];