0001-Add-params-to-Redmine-Search-Fetcher-initialize-opti.patch

okkez _, 2016-06-23 16:26

Download (1.13 KB)

View differences:

app/controllers/search_controller.rb
68 68
    fetcher = Redmine::Search::Fetcher.new(
69 69
      @question, User.current, @scope, projects_to_search,
70 70
      :all_words => @all_words, :titles_only => @titles_only, :attachments => @search_attachments, :open_issues => @open_issues,
71
      :cache => params[:page].present?
71
      :cache => params[:page].present?, params: params
72 72
    )
73 73

  
74 74
    if fetcher.tokens.present?
75
-