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
Merge branch 'task/54459-investigate-queries-and-filters-to-display-the-project-list-in-projects-attribute-settings-view' into task/54456-develop-a-strategy-on-how-to-reuse-the-current-project-list-implementation
Kabiru Mwenja455e4b283955
diff --cc app/controllers/admin/settings/project_custom_fields_controller.rbindex 6c169b4d0fb,f4efb8c51cd..9bfe0ebff1c--- a/app/controllers/admin/settings/project_custom_fields_controller.rb+++ b/app/controllers/admin/settings/project_custom_fields_controller.rb@@@ -59,14 -59,7 +59,14 @@@ module Admin::Settingrespond_to :htmlend- def edit; end+ def edit+ @project_custom_field_mapping_query = Queries::Projects::ProjectQuery.new(+ name: "project-custom-field-mapping-#{@custom_field.id}"+ ) do |query|- query.where(:available_project_attributes, "~", [@custom_field.id])++ query.where(:available_project_attributes, "=", [@custom_field.id])+ query.select :name+ end+ enddef movecall = CustomFields::UpdateService.new(user: current_user, model: @custom_field).call(