From: Jean-Philippe Lang Date: Tue, 28 Jun 2016 19:08:04 +0000 (+0000) Subject: Add params to Redmine::Search::Fetcher#initialize optional parameter (#23153). X-Git-Tag: 3.4.0~870 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=48a79bc0938c7f2f7b0d3f78761b14b1a0a51918;p=redmine.git 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 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?