summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Peressini <cperessini@gitlab.com>2017-08-29 12:28:23 +0000
committerChris Peressini <cperessini@gitlab.com>2017-09-02 20:40:21 +0000
commit88472420bfd9c1500b7affb365f31964703b1908 (patch)
treeb5ae2b0332cc3e7ea9cb334c56d7844acb503d55
parent1e60725174cf8cfac1b54bbcdb1453d74bfdd37e (diff)
downloadgitlab-ce-29786-inconsistent-search-hint.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
-rw-r--r--app/assets/javascripts/filtered_search/dropdown_hint.js2
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,
}));