1
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-07 21:17:44 +03:00
This commit is contained in:
Lunny Xiao 2024-12-28 22:35:52 -08:00
parent aca3361a5f
commit 37ce867443
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A

View File

@ -1321,6 +1321,7 @@ func UpdateIssueNumComments(ctx context.Context, issueID int64) error {
_, err := db.GetEngine(ctx).
SetExpr("num_comments", countCommentsBuilder).
ID(issueID).
NoAutoTime().
Update(new(Issue))
return err
}