From f839864ee59002ae0889efc2eb0e93a9c7a29ddd Mon Sep 17 00:00:00 2001 From: Tyrone Yeh Date: Wed, 7 May 2025 13:24:24 +0800 Subject: [PATCH] Fix add issue to multiple project issue --- models/issues/issue_project.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/models/issues/issue_project.go b/models/issues/issue_project.go index 71b589d066..5d636989a6 100644 --- a/models/issues/issue_project.go +++ b/models/issues/issue_project.go @@ -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{