From 020457ad5026ca3c6529f3538e62816ca839d6f4 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sat, 23 Nov 2019 08:53:57 +1100 Subject: [PATCH] Reinstate Case ID search field --- CRM/Case/BAO/Query.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Case/BAO/Query.php b/CRM/Case/BAO/Query.php index f144663067..4306ef67ad 100644 --- a/CRM/Case/BAO/Query.php +++ b/CRM/Case/BAO/Query.php @@ -693,6 +693,7 @@ case_relation_type.id = case_relationship.relationship_type_id )"; public static function getSearchFieldMetadata() { $fields = ['case_type_id', 'case_status_id', 'case_start_date', 'case_end_date', 'case_subject', 'case_id', 'case_deleted']; $metadata = civicrm_api3('Case', 'getfields', [])['values']; + $metadata['case_id'] = $metadata['id']; $metadata = array_intersect_key($metadata, array_flip($fields)); $metadata['case_tags'] = [ 'title' => ts('Case Tag(s)'), -- 2.25.1