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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-22 06:08:25 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-22 06:08:25 +0300
commit8a902a9508717f7a107221b37d894e4682fc27c3 (patch)
tree9f01ce7ab957d48135fc87f87f3320d3fa9f38ab /app/helpers/search_helper.rb
parent255fd0f72c842af763ecd85128491db4c281d73d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/helpers/search_helper.rb')
-rw-r--r--app/helpers/search_helper.rb13
1 files changed, 12 insertions, 1 deletions
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb
index 3467f6e9a44..6b27ab6a4e2 100644
--- a/app/helpers/search_helper.rb
+++ b/app/helpers/search_helper.rb
@@ -1,7 +1,18 @@
# frozen_string_literal: true
module SearchHelper
- SEARCH_PERMITTED_PARAMS = [:search, :scope, :project_id, :group_id, :repository_ref, :snippets, :sort, :state, :confidential].freeze
+ SEARCH_PERMITTED_PARAMS = [
+ :search,
+ :scope,
+ :project_id,
+ :group_id,
+ :repository_ref,
+ :snippets,
+ :sort,
+ :state,
+ :confidential,
+ :force_search_results
+ ].freeze
def search_autocomplete_opts(term)
return unless current_user