OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix scope attribute for custom_field
Oliver Günther413264ae7edf
diff --git a/app/models/custom_field.rb b/app/models/custom_field.rbindex aa86de98199..715c11a183b 100644--- a/app/models/custom_field.rb+++ b/app/models/custom_field.rb@@ -41,7 +41,7 @@ class CustomField < ApplicationRecordinverse_of: 'custom_field'accepts_nested_attributes_for :custom_options- acts_as_list scope: "type = '#{self.class}'"+ acts_as_list scope: [:type]validates :field_format, presence: truevalidates :custom_options,