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
Don't show archived projects in memberships
Oliver Günther045ddfd0c66a
diff --git a/app/views/individual_principals/_memberships.html.erb b/app/views/individual_principals/_memberships.html.erbindex 500f05adaec..d4203309b5f 100644--- a/app/views/individual_principals/_memberships.html.erb+++ b/app/views/individual_principals/_memberships.html.erb@@ -146,7 +146,8 @@ See COPYRIGHT and LICENSE files for more details.<fieldset class="form--fieldset"><legend class="form--fieldset-legend"><%=t(:label_project_new)%></legend><% principal_project_ids = @individual_principal.projects.ids %>- <% filter = principal_project_ids.length > 0 ? [['id', '!', principal_project_ids.map(&:to_s)]] : [] %>+ <% filter = [['active', '=', 't']] %>+ <% filter << ['id', '!', principal_project_ids.map(&:to_s)] if principal_project_ids.any? %><%= angular_component_tag 'op-project-autocompleter',inputs: {apiFilters: filter,