diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts index fffa4bb57..c10d7c7c8 100644 --- a/server/models/video/video-comment.ts +++ b/server/models/video/video-comment.ts @@ -253,7 +253,7 @@ export class VideoCommentModel extends Model { static listThreadCommentsForApi (videoId: number, threadId: number) { const query = { - order: [ [ 'createdAt', 'ASC' ] ], + order: [ [ 'createdAt', 'ASC' ], [ 'updatedAt', 'ASC' ] ], where: { videoId, [ Sequelize.Op.or ]: [