From 117c643e45364340b9eaa0783ee2d23abc0324df Mon Sep 17 00:00:00 2001 From: Arman Date: Tue, 1 Dec 2020 16:26:37 +0330 Subject: [PATCH] Fix sort fields on Video Playlists displayName does not exist in VideoPlaylistModel, the correct field is `name` --- 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 da837837e..b7783eb68 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -85,7 +85,7 @@ const SORTABLE_COLUMNS = { USER_NOTIFICATIONS: [ 'createdAt', 'read' ], - VIDEO_PLAYLISTS: [ 'displayName', 'createdAt', 'updatedAt' ], + VIDEO_PLAYLISTS: [ 'name', 'createdAt', 'updatedAt' ], PLUGINS: [ 'name', 'createdAt', 'updatedAt' ],