Skip to content

Commit

Permalink
Fix order of comments (go-gitea#2835)
Browse files Browse the repository at this point in the history
  • Loading branch information
Morlinest committed Nov 3, 2017
1 parent 357d5a5 commit 0e936d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions models/issue_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,7 @@ func findComments(e Engine, opts FindCommentsOptions) ([]*Comment, error) {
}
return comments, sess.
Asc("comment.created_unix").
Asc("comment.id").
Find(&comments)
}

Expand Down

0 comments on commit 0e936d8

Please sign in to comment.