diff options
Diffstat (limited to 'client/src/app/shared/shared-search')
-rw-r--r-- | client/src/app/shared/shared-search/find-in-bulk.service.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/shared-search/find-in-bulk.service.ts b/client/src/app/shared/shared-search/find-in-bulk.service.ts index 30cddc154..8ca64c37e 100644 --- a/client/src/app/shared/shared-search/find-in-bulk.service.ts +++ b/client/src/app/shared/shared-search/find-in-bulk.service.ts | |||
@@ -91,19 +91,19 @@ export class FindInBulkService { | |||
91 | private getVideosInBulk (uuids: string[]) { | 91 | private getVideosInBulk (uuids: string[]) { |
92 | logger('Fetching videos %s.', uuids.join(', ')) | 92 | logger('Fetching videos %s.', uuids.join(', ')) |
93 | 93 | ||
94 | return this.searchService.searchVideos({ uuids }) | 94 | return this.searchService.searchVideos({ uuids, componentPagination: { itemsPerPage: uuids.length, currentPage: 1 } }) |
95 | } | 95 | } |
96 | 96 | ||
97 | private getChannelsInBulk (handles: string[]) { | 97 | private getChannelsInBulk (handles: string[]) { |
98 | logger('Fetching channels %s.', handles.join(', ')) | 98 | logger('Fetching channels %s.', handles.join(', ')) |
99 | 99 | ||
100 | return this.searchService.searchVideoChannels({ handles }) | 100 | return this.searchService.searchVideoChannels({ handles, componentPagination: { itemsPerPage: handles.length, currentPage: 1 } }) |
101 | } | 101 | } |
102 | 102 | ||
103 | private getPlaylistsInBulk (uuids: string[]) { | 103 | private getPlaylistsInBulk (uuids: string[]) { |
104 | logger('Fetching playlists %s.', uuids.join(', ')) | 104 | logger('Fetching playlists %s.', uuids.join(', ')) |
105 | 105 | ||
106 | return this.searchService.searchVideoPlaylists({ uuids }) | 106 | return this.searchService.searchVideoPlaylists({ uuids, componentPagination: { itemsPerPage: uuids.length, currentPage: 1 } }) |
107 | } | 107 | } |
108 | 108 | ||
109 | private buildBulkObservableObject <P extends number | string, R> (bulkGet: (params: P[]) => Observable<R>) { | 109 | private buildBulkObservableObject <P extends number | string, R> (bulkGet: (params: P[]) => Observable<R>) { |