From 95637e046f4cca1ce6adc0eb7e03548034dedeac Mon Sep 17 00:00:00 2001 From: Morlinest Date: Fri, 3 Nov 2017 04:11:42 +0100 Subject: [PATCH] Fix order of comments (#2835) --- models/issue_comment.go | 1 + 1 file changed, 1 insertion(+) diff --git a/models/issue_comment.go b/models/issue_comment.go index 956fad73e177..f2acd5354f82 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) }