diff options
Diffstat (limited to 'app/controllers/custom_fields_controller.rb')
-rw-r--r-- | app/controllers/custom_fields_controller.rb | 4 |
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 |