Browse Source

Fix order of comments (#2835)

Morlinest 2 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

@@ -611,6 +611,7 @@ func findComments(e Engine, opts FindCommentsOptions) ([]*Comment, error) {
611 611
 	}
612 612
 	return comments, sess.
613 613
 		Asc("comment.created_unix").
614
+		Asc("comment.id").
614 615
 		Find(&comments)
615 616
 }
616 617