Skip to content

Commit de7a76a

Browse files
Morlinestlafriks
authored andcommitted
Fix order of comments (#2835) (#2839)
1 parent 357d5a5 commit de7a76a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

models/issue_comment.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ func findComments(e Engine, opts FindCommentsOptions) ([]*Comment, error) {
613613
}
614614
return comments, sess.
615615
Asc("comment.created_unix").
616+
Asc("comment.id").
616617
Find(&comments)
617618
}
618619

0 commit comments

Comments
 (0)