aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/public_body_controller.rb
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-02-12 12:53:30 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-02-12 12:53:30 +1100
commit2eadcc3417b11237f9e40dd5eb5804b2fcc44c82 (patch)
treecc05a244b04fcfcb6858cd256a0ff4bd5c016b30 /app/controllers/public_body_controller.rb
parentc4ee8fc6aeba6f1bb6eaad161c7bbc766a19e4d1 (diff)
Pass parameters to method rather explicitly
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 8a4a65820..d88ab66e3 100644
--- a/app/controllers/public_body_controller.rb
+++ b/app/controllers/public_body_controller.rb
@@ -40,7 +40,7 @@ class PublicBodyController < ApplicationController
@view = params[:view]
params[:latest_status] = @view
- query = make_query_from_params
+ query = make_query_from_params(params)
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.