Skip to content

Commit f839864

Browse files
committed
Fix add issue to multiple project issue
1 parent 18f2d46 commit f839864

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

models/issues/issue_project.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,9 @@ func IssueAssignOrRemoveProject(ctx context.Context, issue *Issue, doer *user_mo
154154
}
155155

156156
pi = append(pi, &project_model.ProjectIssue{
157-
IssueID: issue.ID,
158-
ProjectID: pID,
159-
ProjectColumnID: newColumnID,
160-
Sorting: newSorting,
157+
IssueID: issue.ID,
158+
ProjectID: pID,
159+
Sorting: newSorting,
161160
})
162161

163162
if _, err := CreateComment(ctx, &CreateCommentOptions{

0 commit comments

Comments
 (0)