$componentClause = " v.component_id IS NOT NULL";
}
+ $groupingClause = " v.grouping IS NULL";
$componentIds = array();
$compInfo = CRM_Core_Component::getEnabledComponents();
$componentClause = " ( v.component_id IN ($componentIds ) )";
}
}
- $condition = $condition . ' AND ' . $componentClause;
+ $condition = $condition . ' AND ' . $componentClause . ' AND ' . $groupingClause;
self::$activityType[$index] = CRM_Core_OptionGroup::values('activity_type', FALSE, FALSE, FALSE, $condition, $returnColumn);
}