summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-28 19:08:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-06-28 19:08:04 +0000
commit48a79bc0938c7f2f7b0d3f78761b14b1a0a51918 (patch)
tree200669431eda0cae5b63b939a6bbf65f9b19e626
parent1b10649783e2884fde72501bf86a78b68f24ea57 (diff)
downloadredmine-48a79bc0938c7f2f7b0d3f78761b14b1a0a51918.tar.gz
redmine-48a79bc0938c7f2f7b0d3f78761b14b1a0a51918.zip
Add params to Redmine::Search::Fetcher#initialize optional parameter (#23153).
Patch by okkez. git-svn-id: http://svn.redmine.org/redmine/trunk@15583 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/controllers/search_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index 2888a8889..cc1970ef1 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -68,7 +68,7 @@ class SearchController < ApplicationController
fetcher = Redmine::Search::Fetcher.new(
@question, User.current, @scope, projects_to_search,
:all_words => @all_words, :titles_only => @titles_only, :attachments => @search_attachments, :open_issues => @open_issues,
- :cache => params[:page].present?
+ :cache => params[:page].present?, :params => params
)
if fetcher.tokens.present?