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? diff --git a/app/views/search/index.html.erb b/app/views/search/index.html.erb index 6fceaeab2..53ec17a63 100644 --- a/app/views/search/index.html.erb +++ b/app/views/search/index.html.erb @@ -26,6 +26,7 @@

+ <%= call_hook(:view_search_index_options_content_bottom) %> <%= hidden_field_tag 'options', '', :id => 'show-options' %>