aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/query.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/helpers/query.ts')
-rw-r--r--server/helpers/query.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/server/helpers/query.ts b/server/helpers/query.ts
index e711b15f2..79cf076d1 100644
--- a/server/helpers/query.ts
+++ b/server/helpers/query.ts
@@ -18,8 +18,10 @@ function pickCommonVideoQuery (query: VideosCommonQueryAfterSanitize) {
18 'languageOneOf', 18 'languageOneOf',
19 'tagsOneOf', 19 'tagsOneOf',
20 'tagsAllOf', 20 'tagsAllOf',
21 'filter', 21 'isLocal',
22 'skipCount' 22 'include',
23 'skipCount',
24 'search'
23 ]) 25 ])
24} 26}
25 27
@@ -29,7 +31,6 @@ function pickSearchVideoQuery (query: VideosSearchQueryAfterSanitize) {
29 31
30 ...pick(query, [ 32 ...pick(query, [
31 'searchTarget', 33 'searchTarget',
32 'search',
33 'host', 34 'host',
34 'startDate', 35 'startDate',
35 'endDate', 36 'endDate',