summaryrefslogtreecommitdiffstats
path: root/app/controllers/admin_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-24 11:23:17 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-24 11:23:17 +0000
commit733987fbb6e4652c40d27fdca111f97754cc5920 (patch)
tree8f641f2c8d69fc7c3f5490c3b63cee6d79809b1b /app/controllers/admin_controller.rb
parent7389b4bed0cabf3e248707474a63c459be91ab9d (diff)
downloadredmine-733987fbb6e4652c40d27fdca111f97754cc5920.tar.gz
redmine-733987fbb6e4652c40d27fdca111f97754cc5920.zip
Merged r2168 to r2171 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/0.8-stable@2172 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/admin_controller.rb')
-rw-r--r--app/controllers/admin_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index d3afeeea1..be260b419 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -27,7 +27,7 @@ class AdminController < ApplicationController
def projects
sort_init 'name', 'asc'
- sort_update
+ sort_update %w(name is_public created_on)
@status = params[:status] ? params[:status].to_i : 1
c = ARCondition.new(@status == 0 ? "status <> 0" : ["status = ?", @status])