aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/public_body_controller.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2014-03-04 09:53:26 +0000
committerLouise Crow <louise.crow@gmail.com>2014-03-04 09:53:26 +0000
commit3912c73583464e3ff203e3e101325ccabcba0506 (patch)
tree3b57620358c4c4cfe1c52702f2979876f6452aa0 /app/controllers/public_body_controller.rb
parent2a49615ee3ea08f7952283efc0306a1ac0c23334 (diff)
parentaf83354da1030c2d2fad3c63f3ccb516c4923d38 (diff)
Merge branch 'release/0.17' into wdtk
Conflicts: config/general.yml-example
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.