summaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2018-03-25 09:49:52 +0000
committerGo MAEDA <maeda@farend.jp>2018-03-25 09:49:52 +0000
commitc437d8db61d6014116f29e1c3b40e5ef311fcff3 (patch)
tree2b7ffc29e92af964862c8ce24c13e4f088c26504 /app/controllers
parent19bcaf28f8c8e3e06f860dffe64fc49e4cda581e (diff)
downloadredmine-c437d8db61d6014116f29e1c3b40e5ef311fcff3.tar.gz
redmine-c437d8db61d6014116f29e1c3b40e5ef311fcff3.zip
Fix: Sort issue custom fields by position in tracker views (#28393).
Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17237 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/trackers_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/trackers_controller.rb b/app/controllers/trackers_controller.rb
index b0e6979c9..caf6b1165 100644
--- a/app/controllers/trackers_controller.rb
+++ b/app/controllers/trackers_controller.rb
@@ -106,6 +106,6 @@ class TrackersController < ApplicationController
return
end
@trackers = Tracker.sorted.to_a
- @custom_fields = IssueCustomField.all.sort
+ @custom_fields = IssueCustomField.sorted
end
end