From 774c73d9a0d8cd12c5dd13652bd4325cc0ad54f6 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Fri, 22 Nov 2019 12:02:54 +1100 Subject: [PATCH] dev/core#1414 Fix E-notices on the lack of an html key in the psudo metadata for these psudofields --- CRM/Case/BAO/Query.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Case/BAO/Query.php b/CRM/Case/BAO/Query.php index 0e18cf5927..3135bb7a23 100644 --- a/CRM/Case/BAO/Query.php +++ b/CRM/Case/BAO/Query.php @@ -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')) { -- 2.25.1