diff --git a/models/issue_comment.go b/models/issue_comment.go index 956fad73e1..f2acd5354f 100644 --- a/models/issue_comment.go +++ b/models/issue_comment.go @@ -611,6 +611,7 @@ func findComments(e Engine, opts FindCommentsOptions) ([]*Comment, error) { } return comments, sess. Asc("comment.created_unix"). + Asc("comment.id"). Find(&comments) }