diff options
author | Seb Bacon <seb@mysociety.org> | 2012-01-09 11:15:06 +0000 |
---|---|---|
committer | Seb Bacon <seb@mysociety.org> | 2012-01-09 11:15:06 +0000 |
commit | c8e10d0654e471c637c462ef80a0484c0a008343 (patch) | |
tree | bb804a0154751f441c6f786b06d2b43b5b3bc147 /app/controllers/public_body_controller.rb | |
parent | daf39e2287067b0fde275f674a5503dde7349b06 (diff) | |
parent | c587009b42b7009cd04657ad33df514b38237ae5 (diff) |
Merge branch 'release/0.5' of https://github.com/sebbacon/alaveteli into release/0.5
Diffstat (limited to 'app/controllers/public_body_controller.rb')
-rw-r--r-- | app/controllers/public_body_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/public_body_controller.rb b/app/controllers/public_body_controller.rb index c31134641..94d1351db 100644 --- a/app/controllers/public_body_controller.rb +++ b/app/controllers/public_body_controller.rb @@ -185,7 +185,7 @@ class PublicBodyController < ApplicationController def search_typeahead # Since acts_as_xapian doesn't support the Partial match flag, we work around it # by making the last work a wildcard, which is quite the same - query = params[:q] + query = params[:query] query = query.split(' ') if query.last.nil? || query.last.strip.length < 3 @xapian_requests = nil |