0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-21 12:24:38 +02:00

Fix add issue to multiple project issue

This commit is contained in:
Tyrone Yeh 2025-05-07 13:24:24 +08:00
parent 18f2d469d9
commit f839864ee5
No known key found for this signature in database
GPG Key ID: AC8B5AA00375E170

View File

@ -154,10 +154,9 @@ func IssueAssignOrRemoveProject(ctx context.Context, issue *Issue, doer *user_mo
}
pi = append(pi, &project_model.ProjectIssue{
IssueID: issue.ID,
ProjectID: pID,
ProjectColumnID: newColumnID,
Sorting: newSorting,
IssueID: issue.ID,
ProjectID: pID,
Sorting: newSorting,
})
if _, err := CreateComment(ctx, &CreateCommentOptions{