1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-10-17 17:01:01 +00:00

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
This commit is contained in:
Jean-Philippe Lang 2016-06-28 19:08:04 +00:00
parent 1b10649783
commit 48a79bc093

View File

@ -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?