aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/models/video/video-comment.ts2
1 files changed, 1 insertions, 1 deletions
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<VideoCommentModel> {
253 253
254 static listThreadCommentsForApi (videoId: number, threadId: number) { 254 static listThreadCommentsForApi (videoId: number, threadId: number) {
255 const query = { 255 const query = {
256 order: [ [ 'createdAt', 'ASC' ] ], 256 order: [ [ 'createdAt', 'ASC' ], [ 'updatedAt', 'ASC' ] ],
257 where: { 257 where: {
258 videoId, 258 videoId,
259 [ Sequelize.Op.or ]: [ 259 [ Sequelize.Op.or ]: [