diff options
author | Go MAEDA <maeda@farend.jp> | 2023-04-14 07:48:21 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2023-04-14 07:48:21 +0000 |
commit | f7ea8d2240d192744ef0de555685b6263ad5bf2e (patch) | |
tree | 4d8931533d69edf225d3c6f204a93c15fd5424b6 /app | |
parent | 55408c480b64f1af10aaf6e264b214d9d757cb84 (diff) | |
download | redmine-f7ea8d2240d192744ef0de555685b6263ad5bf2e.tar.gz redmine-f7ea8d2240d192744ef0de555685b6263ad5bf2e.zip |
FIX: The position of existing elements in the array CORE_FIELDS must not be changed (#38416).
git-svn-id: https://svn.redmine.org/redmine/trunk@22186 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/models/tracker.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/models/tracker.rb b/app/models/tracker.rb index ce476092d..bfec75e70 100644 --- a/app/models/tracker.rb +++ b/app/models/tracker.rb @@ -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 |