diff options
author | francis <francis> | 2008-04-30 00:46:00 +0000 |
---|---|---|
committer | francis <francis> | 2008-04-30 00:46:00 +0000 |
commit | 4fc6f78113ad66b8b0381aa8a322b2c2db346864 (patch) | |
tree | 452313052f4c4fc75f81d25bfea55e5017e472ef /app/controllers/general_controller.rb | |
parent | b148ac567de92a09fe11cc3550c19725e321896d (diff) |
Do collapsing for search, but not for email or RSS
Diffstat (limited to 'app/controllers/general_controller.rb')
-rw-r--r-- | app/controllers/general_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/general_controller.rb b/app/controllers/general_controller.rb index 6ac91c605..c052e4e1e 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.20 2008-04-30 00:37:50 francis Exp $ +# $Id: general_controller.rb,v 1.21 2008-04-30 00:46:00 francis Exp $ class GeneralController < ApplicationController @@ -35,7 +35,7 @@ class GeneralController < ApplicationController # Get all successful requests for display on the right query = 'variety:response (status:successful OR status:partially_successful)' sortby = "newest" - perform_search(query, sortby, 3) + perform_search(query, sortby, 'request_collapse', 3) end @@ -60,7 +60,7 @@ class GeneralController < ApplicationController combined = combined[0..-2] end query = combined.join("/") - perform_search(query, sortby) + perform_search(query, sortby, 'request_collapse') #render :controller => "help", :action => "about" end |