From 48a79bc0938c7f2f7b0d3f78761b14b1a0a51918 2016-06-28 19:08:04 From: Jean-Philippe Lang Date: 2016-06-28 19:08:04 Subject: [PATCH] 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 --- diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index 2888a88..cc1970e 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?