Fix order of comments (#2835)

tokarchuk/v1.17
Morlinest 7 years ago committed by Lunny Xiao
parent 2e08f230ca
commit 95637e046f
  1. 1
      models/issue_comment.go

@ -611,6 +611,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)
} }

Loading…
Cancel
Save