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-blacklist.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models/video/video-blacklist.ts') diff --git a/server/models/video/video-blacklist.ts b/server/models/video/video-blacklist.ts index 3adcec149..26167174a 100644 --- a/server/models/video/video-blacklist.ts +++ b/server/models/video/video-blacklist.ts @@ -36,7 +36,7 @@ export class VideoBlacklistModel extends Model { const query = { offset: start, limit: count, - order: [ getSortOnModel(sort.sortModel, sort.sortValue) ], + order: getSortOnModel(sort.sortModel, sort.sortValue), include: [ { model: VideoModel } ] } -- cgit v1.2.3