aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2015-01-13 17:23:02 +0000
committerGareth Rees <gareth@mysociety.org>2015-01-13 17:23:02 +0000
commitaf18834097e2f49ba9c0e18b9dac42cbc6eb1ebd (patch)
tree9d6301576c5b0733d1a988860f9a08e979442484 /app/controllers/request_controller.rb
parent74f325825c3a5b94794253009a10f002dac3fa39 (diff)
parent1488f24e3f03fe46b222fa2fca4ae273d0b46ebf (diff)
Merge branch '2051-back-to-search' into rails-3-develop
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index 9e156cfb9..081c14d7f 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -37,6 +37,7 @@ class RequestController < ApplicationController
end
if !params[:query].nil?
query = params[:query]
+ flash[:search_params] = params.slice(:query, :bodies, :page)
@xapian_requests = perform_search_typeahead(query, PublicBody)
end
medium_cache