Browse Source

Fix order of comments (#2835)

tags/v1.21.12.1
Morlinest Lunny Xiao 7 years ago
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