diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2015-04-09 10:48:17 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2015-04-09 10:48:17 +0200 |
commit | 52c881f7c12e803379a71e6d539a87e9112145e5 (patch) | |
tree | 82b09ec8db78f29b82298460481834f7bcd78f3c /server/sonar-web/src | |
parent | 46217207aa4de2c85174d22cc7c8d233474d10be (diff) | |
download | sonarqube-52c881f7c12e803379a71e6d539a87e9112145e5.tar.gz sonarqube-52c881f7c12e803379a71e6d539a87e9112145e5.zip |
SONAR-6403 It is impossible to search for "C" language on the rules page
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r-- | server/sonar-web/src/main/js/coding-rules/facets/custom-values-facet.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/coding-rules/facets/custom-values-facet.js b/server/sonar-web/src/main/js/coding-rules/facets/custom-values-facet.js index 000f4df5cad..c277cb7a25c 100644 --- a/server/sonar-web/src/main/js/coding-rules/facets/custom-values-facet.js +++ b/server/sonar-web/src/main/js/coding-rules/facets/custom-values-facet.js @@ -43,7 +43,7 @@ define([ prepareSearch: function () { this.$('.js-custom-value').select2({ placeholder: t('search_verb'), - minimumInputLength: 2, + minimumInputLength: 1, allowClear: false, formatNoMatches: function () { return t('select2.noMatches'); @@ -52,7 +52,7 @@ define([ return t('select2.searching'); }, formatInputTooShort: function () { - return tp('select2.tooShort', 2); + return tp('select2.tooShort', 1); }, width: '100%', ajax: this.prepareAjaxSearch() |