Skip to content

Commit 271e65b

Browse files
committed
Missed processing ExclusiveOrder when creating a new label from the org page.
1 parent 2937c6d commit 271e65b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

routers/web/org/org_labels.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ func NewLabel(ctx *context.Context) {
4444
}
4545

4646
l := &issues_model.Label{
47-
OrgID: ctx.Org.Organization.ID,
48-
Name: form.Title,
49-
Exclusive: form.Exclusive,
50-
Description: form.Description,
51-
Color: form.Color,
47+
OrgID: ctx.Org.Organization.ID,
48+
Name: form.Title,
49+
Exclusive: form.Exclusive,
50+
Description: form.Description,
51+
Color: form.Color,
52+
ExclusiveOrder: form.ExclusiveOrder,
5253
}
5354
if err := issues_model.NewLabel(ctx, l); err != nil {
5455
ctx.ServerError("NewLabel", err)

0 commit comments

Comments
 (0)