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
Add visible scope
Dombi Attila4d96b7786b6b
diff --git a/app/controllers/projects/settings/project_custom_fields_controller.rb b/app/controllers/projects/settings/project_custom_fields_controller.rbindex 950e0d4566c..caec7e41d2b 100644--- a/app/controllers/projects/settings/project_custom_fields_controller.rb+++ b/app/controllers/projects/settings/project_custom_fields_controller.rb@@ -82,11 +82,12 @@ class Projects::Settings::ProjectCustomFieldsController < Projects::SettingsContprivatedef eager_load_project_custom_field_data- # Load only the sections that have custom_fields associated+ # Load only the sections that have visible custom_fields associated@project_custom_field_sections =ProjectCustomFieldSection.joins(:custom_fields).includes(:custom_fields)+ .merge(ProjectCustomField.visible).group(:id, "custom_fields.id").order(:position)