Browse Source

chore(search): include `issue:<issue-short>` in the issue search dropdown (#44521)

Adds `issue` in Issue stream search dropdown.

Before:
![Screen Shot 2023-02-13 at 11 34 12
AM](https://user-images.githubusercontent.com/101606877/218556421-9df62d61-1a26-4786-8c4c-ee19fcdef263.png)

After:
![Screen Shot 2023-02-13 at 11 01 39
AM](https://user-images.githubusercontent.com/101606877/218555908-b6cf96fb-c0ef-4655-805a-f048ee9796ca.png)
Gilbert Szeto 2 years ago
parent
commit
82c0368141
1 changed files with 2 additions and 1 deletions
  1. 2 1
      static/app/utils/fields/index.ts

+ 2 - 1
static/app/utils/fields/index.ts

@@ -659,7 +659,7 @@ const EVENT_FIELD_DEFINITIONS: Record<AllEventFieldKeys, FieldDefinition> = {
     keywords: ['ignored', 'assigned', 'for_review', 'unassigned', 'linked', 'unlinked'],
   },
   [FieldKey.ISSUE]: {
-    desc: t('The issue identification code'),
+    desc: t('The issue identification short code'),
     kind: FieldKind.FIELD,
     valueType: FieldValueType.STRING,
   },
@@ -974,6 +974,7 @@ export const ISSUE_FIELDS = [
   FieldKey.HTTP_URL,
   FieldKey.ID,
   FieldKey.IS,
+  // FieldKey.ISSUE,
   FieldKey.ISSUE_CATEGORY,
   FieldKey.ISSUE_TYPE,
   FieldKey.LAST_SEEN,