aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/request_controller.rb
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-01-19 17:34:19 +0000
committerRobin Houston <robin.houston@gmail.com>2012-01-19 17:34:19 +0000
commitf596a8983ae514da5c41cfc280598f3946747c47 (patch)
tree76bf3d43d46335b2a3647dd3dc1d8ff0a616a958 /app/controllers/request_controller.rb
parentfa7a9d6262c84951cbe5992e1da4269aeb3a95f7 (diff)
parentf5e05d899c14ba14fd770a3308990ce797f1a55c (diff)
Merge branch 'wdtk' of github.com:sebbacon/alaveteli into wdtk
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r--app/controllers/request_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb
index aeb6d31fe..7bc51bc28 100644
--- a/app/controllers/request_controller.rb
+++ b/app/controllers/request_controller.rb
@@ -166,7 +166,7 @@ class RequestController < ApplicationController
query = make_query_from_params
@title = _("View and search requests")
sortby = "newest"
- behavior_cache :tag => [@view, @page] do
+ behavior_cache :tag => [@query, @page, I18n.locale] do
xapian_object = perform_search([InfoRequestEvent], query, sortby, 'request_collapse')
@list_results = xapian_object.results.map { |r| r[:model] }
@matches_estimated = xapian_object.matches_estimated