diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-06 11:35:58 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-06 11:35:58 +0000 |
commit | 465937d6d894fc0bcd7548c53f6e294a17f68b5c (patch) | |
tree | 8cdf48b924afd98de9c168a07822515400670527 /app/controllers/request_controller.rb | |
parent | b06195a428b5cb6c3e95b07c631e2f18febf05f0 (diff) | |
parent | b476615a00ea8ad699c412c604cbae18388dedd7 (diff) |
Merge branch 'release/0.5' into develop
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 |