diff options
author | francis <francis> | 2008-04-30 00:57:20 +0000 |
---|---|---|
committer | francis <francis> | 2008-04-30 00:57:20 +0000 |
commit | b8e91558ca7b504485eb3c67cf8cee29eea48e47 (patch) | |
tree | 8a70f9b9d9c73832cc57be397a32e550583a062c /app/controllers/general_controller.rb | |
parent | 4fc6f78113ad66b8b0381aa8a322b2c2db346864 (diff) |
Fix up test code with Xapian.
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r-- | app/controllers/general_controller.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb index c052e4e1e..afdbee82b 100644 --- a/app/controllers/general_controller.rb +++ b/app/controllers/general_controller.rb @@ -5,7 +5,7 @@ # Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: general_controller.rb,v 1.21 2008-04-30 00:46:00 francis Exp $ +# $Id: general_controller.rb,v 1.22 2008-04-30 00:57:20 francis Exp $ class GeneralController < ApplicationController @@ -53,6 +53,8 @@ class GeneralController < ApplicationController # Actual search def search + # XXX Why is this so complicated with arrays and stuff? Look at the route + # in config/routes.rb for comments. combined = params[:combined] sortby = nil if combined.size > 1 and combined[-1] == 'newest' |