save filter and grouping from xml to case type
authoryashodha <yashodha.chaku@webaccess.co.in>
Fri, 18 Apr 2014 05:34:18 +0000 (11:04 +0530)
committeryashodha <yashodha.chaku@webaccess.co.in>
Fri, 18 Apr 2014 05:34:18 +0000 (11:04 +0530)
CRM/Case/Info.php

index 31ae93eead0ea0f8e56be063cf482f221197be64..b77352ef8f51e21166817b72c583b5cf7c627e22 100644 (file)
@@ -85,6 +85,8 @@ class CRM_Case_Info extends CRM_Core_Component_Info {
             'label' => (string) $xml->name,
             'description' => (string) $xml->description, // CRM_Utils_Array::value('description', $caseType, ''),
             'option_group_id' => $caseTypesGroupId,
+            'filter' => empty($xml->filter) ? 0 : 1,
+            'grouping' => $xml->grouping,
             'is_reserved' => 1,
           ),
         );