From bdd7b275d29163a8a70b3345ea99be712776ee88 Mon Sep 17 00:00:00 2001 From: yashodha Date: Wed, 5 Feb 2014 15:32:50 +0530 Subject: [PATCH] get of grouping filter --- CRM/Core/PseudoConstant.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Core/PseudoConstant.php b/CRM/Core/PseudoConstant.php index 8bbf859247..066a82cc35 100644 --- a/CRM/Core/PseudoConstant.php +++ b/CRM/Core/PseudoConstant.php @@ -618,7 +618,6 @@ class CRM_Core_PseudoConstant { $componentClause = " v.component_id IS NOT NULL"; } - $groupingClause = " v.grouping IS NULL"; $componentIds = array(); $compInfo = CRM_Core_Component::getEnabledComponents(); @@ -647,7 +646,7 @@ class CRM_Core_PseudoConstant { $componentClause = " ( v.component_id IN ($componentIds ) )"; } } - $condition = $condition . ' AND ' . $componentClause . ' AND ' . $groupingClause; + $condition = $condition . ' AND ' . $componentClause; self::$activityType[$index] = CRM_Core_OptionGroup::values('activity_type', FALSE, FALSE, FALSE, $condition, $returnColumn); } -- 2.25.1