From 37a44fc915eef2140e22ceb96aba6b6eb2509007 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 17 Jun 2021 16:02:38 +0200 Subject: Add ability to search playlists --- server/initializers/constants.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/initializers') diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 06b4e5a18..cd00b73d5 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -77,6 +77,7 @@ const SORTABLE_COLUMNS = { // Don't forget to update peertube-search-index with the same values VIDEOS_SEARCH: [ 'name', 'duration', 'createdAt', 'publishedAt', 'originallyPublishedAt', 'views', 'likes', 'match' ], VIDEO_CHANNELS_SEARCH: [ 'match', 'displayName', 'createdAt' ], + VIDEO_PLAYLISTS_SEARCH: [ 'match', 'displayName', 'createdAt' ], ABUSES: [ 'id', 'createdAt', 'state' ], -- cgit v1.2.3