diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-27 09:04:04 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-27 09:04:04 +0100 |
commit | 822c7e610d19e3320519a6ae5c90c01db971f03f (patch) | |
tree | 7e9afe855cab8b09708e3fe71caf37bc4e8dc19f /shared/extra-utils/videos | |
parent | 227eb02f9ac100e1314cab4c4751e450bbe14d21 (diff) | |
download | PeerTube-822c7e610d19e3320519a6ae5c90c01db971f03f.tar.gz PeerTube-822c7e610d19e3320519a6ae5c90c01db971f03f.tar.zst PeerTube-822c7e610d19e3320519a6ae5c90c01db971f03f.zip |
Fix playlist search
Diffstat (limited to 'shared/extra-utils/videos')
-rw-r--r-- | shared/extra-utils/videos/video-playlists.ts | 5 |
1 files changed, 3 insertions, 2 deletions
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 | |||
45 | }) | 45 | }) |
46 | } | 46 | } |
47 | 47 | ||
48 | function getAccountPlaylistsList (url: string, accountName: string, start: number, count: number, sort?: string) { | 48 | function getAccountPlaylistsList (url: string, accountName: string, start: number, count: number, sort?: string, search?: string) { |
49 | const path = '/api/v1/accounts/' + accountName + '/video-playlists' | 49 | const path = '/api/v1/accounts/' + accountName + '/video-playlists' |
50 | 50 | ||
51 | const query = { | 51 | const query = { |
52 | start, | 52 | start, |
53 | count, | 53 | count, |
54 | sort | 54 | sort, |
55 | search | ||
55 | } | 56 | } |
56 | 57 | ||
57 | return makeGetRequest({ | 58 | return makeGetRequest({ |