From 822c7e610d19e3320519a6ae5c90c01db971f03f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 27 Dec 2019 09:04:04 +0100 Subject: Fix playlist search --- shared/extra-utils/videos/video-playlists.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'shared/extra-utils/videos') diff --git a/shared/extra-utils/videos/video-playlists.ts b/shared/extra-utils/videos/video-playlists.ts index cbb073fbc..6762c5973 100644 --- a/shared/extra-utils/videos/video-playlists.ts +++ b/shared/extra-utils/videos/video-playlists.ts @@ -45,13 +45,14 @@ function getVideoChannelPlaylistsList (url: string, videoChannelName: string, st }) } -function getAccountPlaylistsList (url: string, accountName: string, start: number, count: number, sort?: string) { +function getAccountPlaylistsList (url: string, accountName: string, start: number, count: number, sort?: string, search?: string) { const path = '/api/v1/accounts/' + accountName + '/video-playlists' const query = { start, count, - sort + sort, + search } return makeGetRequest({ -- cgit v1.2.3