diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2016-11-28 05:54:14 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2016-11-28 05:54:14 +0000 |
commit | 65e08b259d6506a2303a642844dc65a4b9654463 (patch) | |
tree | 6beacb1f3964eab4e93476974949c63d70571347 /app/models/custom_field.rb | |
parent | a373e304b3d5957306115018175c7f8cd938be2c (diff) | |
download | redmine-65e08b259d6506a2303a642844dc65a4b9654463.tar.gz redmine-65e08b259d6506a2303a642844dc65a4b9654463.zip |
use symbol instead of string for 'position' (#24013)
git-svn-id: http://svn.redmine.org/redmine/trunk@16008 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/custom_field.rb')
-rw-r--r-- | app/models/custom_field.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/custom_field.rb b/app/models/custom_field.rb index 8936a6d66..400ee56b5 100644 --- a/app/models/custom_field.rb +++ b/app/models/custom_field.rb @@ -249,7 +249,7 @@ class CustomField < ActiveRecord::Base # to move in project_custom_field def self.for_all - where(:is_for_all => true).order('position').to_a + where(:is_for_all => true).order(:position).to_a end def type_name |