From 9e734f891ace098a3d8e392527f540d0165d734b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 29 May 2020 09:28:48 +0200 Subject: [PATCH] Add another sort for videos --- server/initializers/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index df6411b..9f3571b 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -28,7 +28,7 @@ const CONFIG = { } const SORTABLE_COLUMNS = { - VIDEOS_SEARCH: [ 'name', 'duration', 'createdAt', 'publishedAt', 'views', 'likes', 'match' ], + VIDEOS_SEARCH: [ 'name', 'duration', 'createdAt', 'publishedAt', 'originallyPublishedAt', 'views', 'likes', 'match' ], CHANNELS_SEARCH: [ 'match', 'displayName', 'createdAt' ] }