Skip to content

Commit

Permalink
Merge pull request #15935 from seamuslee001/case_id_search_field
Browse files Browse the repository at this point in the history
Reinstate Case ID search field
  • Loading branch information
seamuslee001 authored Nov 23, 2019
2 parents 7025246 + 020457a commit aa1396e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Case/BAO/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -693,6 +693,7 @@ public static function tableNames(&$tables) {
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)'),
Expand Down

0 comments on commit aa1396e

Please sign in to comment.