aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/application_controller.rb
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2012-01-13 11:18:47 +0000
committerSeb Bacon <seb.bacon@gmail.com>2012-01-13 11:18:47 +0000
commitb327f193cf34ec007627362cdeebc54b2fb2432b (patch)
tree244077486cf1a194fd37c79b0e117e301b1af416 /app/controllers/application_controller.rb
parent4808347cb65556756d38b60b25fa9761f92c4513 (diff)
Correction to commit 4808347cb65556756d38b60b25fa9761f92c4513
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r--app/controllers/application_controller.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 24268db90..ca6e2ba64 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -371,7 +371,6 @@ class ApplicationController < ActionController::Base
# XXX this is a result of the OR hack below -- should fix by
# allowing a parameter to perform_search to control the
# default operator!
- query = query.strip.gsub(/(\s-\s|&)/, "")
query = query.strip.gsub(/(\s-\s|&|\(|\))/, "")
query = query.split(/ +(?![-+]+)/)
if query.last.nil? || query.last.strip.length < 3