Fix order of comments (#2835)

This commit is contained in:
Morlinest authored and Lunny Xiao committed 2017-11-03 11:11:42 +08:00
1 parent 2e08f230ca
commit 95637e046f
1 file changed
+1
+1
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)
}