diff options
author | Chris Peressini <cperessini@gitlab.com> | 2017-08-29 12:28:23 +0000 |
---|---|---|
committer | Chris Peressini <cperessini@gitlab.com> | 2017-09-02 20:40:21 +0000 |
commit | 88472420bfd9c1500b7affb365f31964703b1908 (patch) | |
tree | b5ae2b0332cc3e7ea9cb334c56d7844acb503d55 /app/assets/javascripts/filtered_search | |
parent | 1e60725174cf8cfac1b54bbcdb1453d74bfdd37e (diff) | |
download | gitlab-ce-88472420bfd9c1500b7affb365f31964703b1908.tar.gz |
Change hint format for main filtered search dropdown29786-inconsistent-search-hint
Change hint format from `type<value>` to `type:value` so it matches
the required syntax to perform filtering
Fixes #29786
Diffstat (limited to 'app/assets/javascripts/filtered_search')
-rw-r--r-- | app/assets/javascripts/filtered_search/dropdown_hint.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/filtered_search/dropdown_hint.js b/app/assets/javascripts/filtered_search/dropdown_hint.js index 1c5ca1d3cf9..23040cd9eb8 100644 --- a/app/assets/javascripts/filtered_search/dropdown_hint.js +++ b/app/assets/javascripts/filtered_search/dropdown_hint.js @@ -61,7 +61,7 @@ class DropdownHint extends gl.FilteredSearchDropdown { .map(tokenKey => ({ icon: `fa-${tokenKey.icon}`, hint: tokenKey.key, - tag: `<${tokenKey.tag}>`, + tag: `:${tokenKey.tag}`, type: tokenKey.type, })); |