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
This commit is contained in:
Jean-Philippe Lang
2007-01-31 21:18:43 +00:00
parent 671a0fa101
commit fa688d48e6
10 changed files with 45 additions and 12 deletions

View File

@@ -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