mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-30 05:49:42 +03:00
Fix bug
This commit is contained in:
@ -1306,9 +1306,7 @@ func CountCommentsBuilder(issueID int64) *builder.Builder {
|
|||||||
}.And(builder.In("type",
|
}.And(builder.In("type",
|
||||||
CommentTypeComment,
|
CommentTypeComment,
|
||||||
CommentTypeReview,
|
CommentTypeReview,
|
||||||
)).And(builder.Neq{
|
)))
|
||||||
"invalidated": true,
|
|
||||||
}))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func UpdateIssueNumComments(ctx context.Context, issueID int64) error {
|
func UpdateIssueNumComments(ctx context.Context, issueID int64) error {
|
||||||
|
Reference in New Issue
Block a user