Patch #23153 » 0001-Add-params-to-Redmine-Search-Fetcher-initialize-opti.patch
| 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?
|
||