dev/core#1414 Fix E-notices on the lack of an html key in the psudo metadata for...
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 22 Nov 2019 01:02:54 +0000 (12:02 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 22 Nov 2019 01:02:54 +0000 (12:02 +1100)
CRM/Case/BAO/Query.php

index 0e18cf592784b1b6ceb26c090bd15c4251aae940..3135bb7a234e14bd82f4203a68ad458afdcf8ca0 100644 (file)
@@ -682,12 +682,14 @@ case_relation_type.id = case_relationship.relationship_type_id )";
       'title' => ts('Case Tag(s)'),
       'type' => CRM_Utils_Type::T_INT,
       'is_pseudofield' => TRUE,
+      'html' => ['type' => 'Select2'],
     ];
     if (CRM_Core_Permission::check('access all cases and activities')) {
       $metadata['case_owner'] = [
         'title' => ts('Cases'),
         'type' => CRM_Utils_Type::T_INT,
         'is_pseudofield' => TRUE,
+        'html' => ['type' => 'Radio'],
       ];
     }
     if (!CRM_Core_Permission::check('administer CiviCase')) {