Commit a74c1243 authored by Jeroen Jacobs's avatar Jeroen Jacobs

Don't include archived projects when creating group milestones

parent 219413c5
...@@ -54,6 +54,7 @@ v 8.13.0 (unreleased) ...@@ -54,6 +54,7 @@ v 8.13.0 (unreleased)
- Close todos when accepting merge requests via the API !6486 (tonygambone) - Close todos when accepting merge requests via the API !6486 (tonygambone)
- Changed Slack service user referencing from full name to username (Sebastian Poxhofer) - Changed Slack service user referencing from full name to username (Sebastian Poxhofer)
- Add Container Registry on/off status to Admin Area !6638 (the-undefined) - Add Container Registry on/off status to Admin Area !6638 (the-undefined)
- Don't include archived projects when creating group milestones (!4940)
v 8.12.4 (unreleased) v 8.12.4 (unreleased)
- Fix type mismatch bug when closing Jira issue - Fix type mismatch bug when closing Jira issue
......
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
.form-group .form-group
= f.label :projects, "Projects", class: "control-label" = f.label :projects, "Projects", class: "control-label"
.col-sm-10 .col-sm-10
= f.collection_select :project_ids, @group.projects, :id, :name, = f.collection_select :project_ids, @group.projects.non_archived, :id, :name,
{ selected: @group.projects.map(&:id) }, multiple: true, class: 'select2' { selected: @group.projects.non_archived.pluck(:id) }, multiple: true, class: 'select2'
.col-md-6 .col-md-6
.form-group .form-group
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment