2
0

Fix order of comments (#2835)

This commit is contained in:
Morlinest
2017-11-03 04:11:42 +01:00
committed by Lunny Xiao
parent ca37c2d8bf
commit 52f4dabe28

View File

@@ -611,6 +611,7 @@ func findComments(e Engine, opts FindCommentsOptions) ([]*Comment, error) {
}
return comments, sess.
Asc("comment.created_unix").
Asc("comment.id").
Find(&comments)
}