diff options
author | louise <louise> | 2009-04-08 16:13:11 +0000 |
---|---|---|
committer | louise <louise> | 2009-04-08 16:13:11 +0000 |
commit | 566427ddf41fd956122346fb813437e94a27b4c8 (patch) | |
tree | 72f2417664aae94873b05f11cfce69245633c2b2 /app/controllers/admin_request_controller.rb | |
parent | b2a9532628d163dc5d8904a7f95b25a18ff38276 (diff) |
Make old_unclassfied function a bit more flexible for reuse elsewhere e.g. in mailing reminders to requesters
Diffstat (limited to 'app/controllers/admin_request_controller.rb')
-rw-r--r-- | app/controllers/admin_request_controller.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/controllers/admin_request_controller.rb b/app/controllers/admin_request_controller.rb index 15faacac2..dfd44f32b 100644 --- a/app/controllers/admin_request_controller.rb +++ b/app/controllers/admin_request_controller.rb @@ -4,7 +4,7 @@ # Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved. # Email: francis@mysociety.org; WWW: http://www.mysociety.org/ # -# $Id: admin_request_controller.rb,v 1.33 2009-04-08 10:45:33 louise Exp $ +# $Id: admin_request_controller.rb,v 1.34 2009-04-08 16:13:11 louise Exp $ class AdminRequestController < AdminController def index @@ -19,7 +19,8 @@ class AdminRequestController < AdminController end def list_old_unclassified - @info_requests = InfoRequest.find_old_unclassified + @info_requests = InfoRequest.find_old_unclassified(:conditions => ["prominence != 'backpage'"], + :age_in_days => 10) end def show |