]> source.dussan.org Git - redmine.git/commitdiff
FIX: The position of existing elements in the array CORE_FIELDS must not be changed...
authorGo MAEDA <maeda@farend.jp>
Fri, 14 Apr 2023 07:48:21 +0000 (07:48 +0000)
committerGo MAEDA <maeda@farend.jp>
Fri, 14 Apr 2023 07:48:21 +0000 (07:48 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22186 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/tracker.rb

index ce476092d8177596813bf52bfba06a6b4ddcf825..bfec75e70b12762da574a1a1d9ecbc16b2b3f8a6 100644 (file)
@@ -24,8 +24,8 @@ class Tracker < ActiveRecord::Base
   # Fields that can be disabled
   # Other (future) fields should be appended, not inserted!
   CORE_FIELDS =
-    %w(priority_id assigned_to_id category_id fixed_version_id parent_issue_id
-       start_date due_date estimated_hours done_ratio description).freeze
+    %w(assigned_to_id category_id fixed_version_id parent_issue_id
+       start_date due_date estimated_hours done_ratio description priority_id).freeze
   CORE_FIELDS_ALL = (CORE_FIELDS_UNDISABLABLE + CORE_FIELDS).freeze
 
   before_destroy :check_integrity