From de7a76a9957edb6b97ed0b94ffd909106659f54a Mon Sep 17 00:00:00 2001 From: Morlinest Date: Fri, 3 Nov 2017 12:16:26 +0100 Subject: [PATCH] Fix order of comments (#2835) (#2839) --- models/issue_comment.go | 1 + 1 file changed, 1 insertion(+) 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) }