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