Project

General

Profile

Patch #23153 » 0001-Add-params-to-Redmine-Search-Fetcher-initialize-opti.patch

okkez _, 2016-06-23 16:26

View differences:

app/controllers/search_controller.rb
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?
(1-1/2)