Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 02:36:10 +01:00

Fix order of comments (#2835)

This commit is contained in:
Morlinest 2017-11-03 04:11:42 +01:00 committed by Lunny Xiao
parent 2e08f230ca
commit 95637e046f

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)
}