Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/search/params.rb')
-rw-r--r--lib/gitlab/search/params.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/search/params.rb b/lib/gitlab/search/params.rb
index 1ae14e5e618..6eb24a92be6 100644
--- a/lib/gitlab/search/params.rb
+++ b/lib/gitlab/search/params.rb
@@ -7,7 +7,7 @@ module Gitlab
SEARCH_CHAR_LIMIT = 4096
SEARCH_TERM_LIMIT = 64
- MIN_TERM_LENGTH = 3
+ MIN_TERM_LENGTH = 2
# Generic validation
validates :query_string, length: { maximum: SEARCH_CHAR_LIMIT }