diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-06 10:18:55 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-06 10:18:55 +0000 |
commit | 042f5460fffd5d7b0c4ea538d070e129c485e618 (patch) | |
tree | f5ea81bd4b2ab1a60862331a2e3a8591c6399546 /app/controllers/request_controller.rb | |
parent | 6a93d027e744bfc4ab2f8f7808ee99c770003481 (diff) | |
parent | 8d7885217fdf4bf5061233679fbb42970cab1c3c (diff) |
Merge branch 'release/0.5' into wdtk
Diffstat (limited to 'app/controllers/request_controller.rb')
-rw-r--r-- | app/controllers/request_controller.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/controllers/request_controller.rb b/app/controllers/request_controller.rb index dad5e81cd..8672fdf75 100644 --- a/app/controllers/request_controller.rb +++ b/app/controllers/request_controller.rb @@ -35,9 +35,8 @@ class RequestController < ApplicationController # do nothing - as "authenticated?" has done the redirect to signin page for us return end - if !params[:query].nil? - query = params[:query] + '*' + query = params[:query] query = query.split(' ').join(' OR ') # XXX: HACK for OR instead of default AND! @xapian_requests = perform_search([PublicBody], query, 'relevant', nil, 5) end |