Skip to content

Commit 3a2ffcb

Browse files
committed
Fix board column move issue
1 parent d48061b commit 3a2ffcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/projects/issue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func MoveIssuesOnProjectColumn(ctx context.Context, doer *user_model.User, colum
7777
}
7878
}
7979

80-
_, err = db.Exec(ctx, "UPDATE `project_issue` SET project_board_id=?, sorting=? WHERE issue_id=?", column.ID, sorting, issueID)
80+
_, err = db.Exec(ctx, "UPDATE `project_issue` SET project_board_id=?, sorting=? WHERE issue_id=? AND project_id=?", column.ID, sorting, issueID, column.ProjectID)
8181
if err != nil {
8282
return err
8383
}

0 commit comments

Comments
 (0)