diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/search/search-video-channels.ts | 3 | ||||
-rw-r--r-- | server/controllers/api/search/search-video-playlists.ts | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/server/controllers/api/search/search-video-channels.ts b/server/controllers/api/search/search-video-channels.ts index c8f0a0a0b..be0b6b9a2 100644 --- a/server/controllers/api/search/search-video-channels.ts +++ b/server/controllers/api/search/search-video-channels.ts | |||
@@ -98,7 +98,8 @@ async function searchVideoChannelsDB (query: VideoChannelsSearchQuery, res: expr | |||
98 | search: query.search, | 98 | search: query.search, |
99 | start: query.start, | 99 | start: query.start, |
100 | count: query.count, | 100 | count: query.count, |
101 | sort: query.sort | 101 | sort: query.sort, |
102 | host: query.host | ||
102 | }, 'filter:api.search.video-channels.local.list.params') | 103 | }, 'filter:api.search.video-channels.local.list.params') |
103 | 104 | ||
104 | const resultList = await Hooks.wrapPromiseFun( | 105 | const resultList = await Hooks.wrapPromiseFun( |
diff --git a/server/controllers/api/search/search-video-playlists.ts b/server/controllers/api/search/search-video-playlists.ts index f55b1fba3..60d1a44f7 100644 --- a/server/controllers/api/search/search-video-playlists.ts +++ b/server/controllers/api/search/search-video-playlists.ts | |||
@@ -88,7 +88,8 @@ async function searchVideoPlaylistsDB (query: VideoPlaylistsSearchQuery, res: ex | |||
88 | search: query.search, | 88 | search: query.search, |
89 | start: query.start, | 89 | start: query.start, |
90 | count: query.count, | 90 | count: query.count, |
91 | sort: query.sort | 91 | sort: query.sort, |
92 | host: query.host | ||
92 | }, 'filter:api.search.video-playlists.local.list.params') | 93 | }, 'filter:api.search.video-playlists.local.list.params') |
93 | 94 | ||
94 | const resultList = await Hooks.wrapPromiseFun( | 95 | const resultList = await Hooks.wrapPromiseFun( |