From 3bb6c52645af84832212c99fdec04143e4230180 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 19 Feb 2018 09:41:03 +0100 Subject: Fix sort inconsistency --- server/models/video/video-comment.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models/video/video-comment.ts') diff --git a/server/models/video/video-comment.ts b/server/models/video/video-comment.ts index ab0f05d6e..47e3211a3 100644 --- a/server/models/video/video-comment.ts +++ b/server/models/video/video-comment.ts @@ -268,7 +268,7 @@ export class VideoCommentModel extends Model { const query = { offset: start, limit: count, - order: [ getSort(sort) ], + order: getSort(sort), where: { videoId, inReplyToCommentId: null -- cgit v1.2.3