Skip to content

Commit 95637e0

Browse files
Morlinestlunny
authored andcommitted
Fix order of comments (#2835)
1 parent 2e08f23 commit 95637e0

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
@@ -611,6 +611,7 @@ func findComments(e Engine, opts FindCommentsOptions) ([]*Comment, error) {
611611
}
612612
return comments, sess.
613613
Asc("comment.created_unix").
614+
Asc("comment.id").
614615
Find(&comments)
615616
}
616617

0 commit comments

Comments
 (0)