Browse Source

Fix order of comments (#2835)

for-closed-social
Morlinest 6 years ago
committed by Lunny Xiao
parent
commit
95637e046f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      models/issue_comment.go

+ 1
- 0
models/issue_comment.go 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)
}

Loading…
Cancel
Save