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/query.rb')
-rw-r--r--lib/gitlab/search/query.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/search/query.rb b/lib/gitlab/search/query.rb
index 27ea0b7367f..5b1f9400bc7 100644
--- a/lib/gitlab/search/query.rb
+++ b/lib/gitlab/search/query.rb
@@ -51,6 +51,7 @@ module Gitlab
end
query = (@raw_query.split - fragments).join(' ')
+ query = '*' if query.empty?
[query, filters]
end