diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-12 17:23:14 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-11-12 17:23:14 +0000 |
commit | 5944696b6d4307de0166ba74c514aae25779abb9 (patch) | |
tree | c2543b32f0319c9e87efa7074d378e86bd60af78 /app/controllers/issues_controller.rb | |
parent | a727f0d25a1e9f23be869a1dc413485b43a16935 (diff) | |
download | redmine-5944696b6d4307de0166ba74c514aae25779abb9.tar.gz redmine-5944696b6d4307de0166ba74c514aae25779abb9.zip |
Custom fields can now be reordered.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@901 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/issues_controller.rb')
-rw-r--r-- | app/controllers/issues_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 602d551f3..a1f910243 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -80,7 +80,7 @@ class IssuesController < ApplicationController end def show - @custom_values = @issue.custom_values.find(:all, :include => :custom_field) + @custom_values = @issue.custom_values.find(:all, :include => :custom_field, :order => "#{CustomField.table_name}.position") @journals = @issue.journals.find(:all, :include => [:user, :details], :order => "#{Journal.table_name}.created_on ASC") @status_options = @issue.status.find_new_statuses_allowed_to(logged_in_user.role_for_project(@project), @issue.tracker) if logged_in_user respond_to do |format| |