aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/public_body_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-01-28 16:33:02 +0000
committerLouise Crow <louise.crow@gmail.com>2014-01-28 16:33:02 +0000
commit89a8fd2ce9880ae0f194733991aa93e447f0ba73 (patch)
tree7fd691a4f7cbd3f1aff61dd91f056a16478d5291 /app/controllers/public_body_controller.rb
parent90fd29903b9db724c941b6e6efa39f41313e8825 (diff)
parentdf0583a94c6a3ce7ded818cb46688b7edc928302 (diff)
Merge branch 'feature/cache-request-lists' into rails-3-develop
Diffstat (limited to 'app/controllers/public_body_controller.rb')
-rw-r--r--app/controllers/public_body_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/public_body_controller.rb b/app/controllers/public_body_controller.rb
index 308d38e4c..862f4b318 100644
--- a/app/controllers/public_body_controller.rb
+++ b/app/controllers/public_body_controller.rb
@@ -40,7 +40,7 @@ class PublicBodyController < ApplicationController
@searched_to_send_request = true
end
@view = params[:view]
- query = make_query_from_params(params.merge(:latest_status => @view))
+ query = InfoRequestEvent.make_query_from_params(params.merge(:latest_status => @view))
query += " requested_from:#{@public_body.url_name}"
# Use search query for this so can collapse and paginate easily
# XXX really should just use SQL query here rather than Xapian.