summaryrefslogtreecommitdiffstats
path: root/app/controllers/custom_fields_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-31 21:18:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-31 21:18:43 +0000
commitfa688d48e673abfa8711beb69995aaf3d41069d1 (patch)
treeb86c5494839673b615cb2d99aac8a861067fd10d /app/controllers/custom_fields_controller.rb
parent671a0fa10161ead2ec0fef888710cf7d872b2f61 (diff)
downloadredmine-fa688d48e673abfa8711beb69995aaf3d41069d1.tar.gz
redmine-fa688d48e673abfa8711beb69995aaf3d41069d1.zip
added the ability to set the sort order for trackers
git-svn-id: http://redmine.rubyforge.org/svn/trunk@209 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/custom_fields_controller.rb')
-rw-r--r--app/controllers/custom_fields_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rb
index 29314f4b1..7d8829641 100644
--- a/app/controllers/custom_fields_controller.rb
+++ b/app/controllers/custom_fields_controller.rb
@@ -47,7 +47,7 @@ class CustomFieldsController < ApplicationController
flash[:notice] = l(:notice_successful_create)
redirect_to :action => 'list', :tab => @custom_field.type
end
- @trackers = Tracker.find(:all)
+ @trackers = Tracker.find(:all, :order => 'position')
end
def edit
@@ -59,7 +59,7 @@ class CustomFieldsController < ApplicationController
flash[:notice] = l(:notice_successful_update)
redirect_to :action => 'list', :tab => @custom_field.type
end
- @trackers = Tracker.find(:all)
+ @trackers = Tracker.find(:all, :order => 'position')
end
def destroy