mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-11 14:36:26 +00:00
Fix add issue to multiple project issue
This commit is contained in:
parent
18f2d469d9
commit
f839864ee5
@ -154,10 +154,9 @@ func IssueAssignOrRemoveProject(ctx context.Context, issue *Issue, doer *user_mo
|
|||||||
}
|
}
|
||||||
|
|
||||||
pi = append(pi, &project_model.ProjectIssue{
|
pi = append(pi, &project_model.ProjectIssue{
|
||||||
IssueID: issue.ID,
|
IssueID: issue.ID,
|
||||||
ProjectID: pID,
|
ProjectID: pID,
|
||||||
ProjectColumnID: newColumnID,
|
Sorting: newSorting,
|
||||||
Sorting: newSorting,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
if _, err := CreateComment(ctx, &CreateCommentOptions{
|
if _, err := CreateComment(ctx, &CreateCommentOptions{
|
||||||
|
Loading…
Reference in New Issue
Block a user