aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--models/issue_comment.go1
1 files changed, 1 insertions, 0 deletions
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)
}