Fix order of comments (#2835) (#2839)

This commit is contained in:
Morlinest 2017-11-03 12:16:26 +01:00 committed by Lauris BH
parent 357d5a5a3d
commit de7a76a995

View File

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