X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Fquery.ts;h=1142d02e46258d1dfdb6b72c744753580c417408;hb=cd56e2f11910a088ff54b40d06d36da44a383b3f;hp=e711b15f2cde7bcd5e15545b5c5d8c49d2e76d86;hpb=421ff4618da64f0849353383f690a014024c40da;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/query.ts b/server/helpers/query.ts index e711b15f2..1142d02e4 100644 --- a/server/helpers/query.ts +++ b/server/helpers/query.ts @@ -16,10 +16,15 @@ function pickCommonVideoQuery (query: VideosCommonQueryAfterSanitize) { 'categoryOneOf', 'licenceOneOf', 'languageOneOf', + 'privacyOneOf', 'tagsOneOf', 'tagsAllOf', - 'filter', - 'skipCount' + 'isLocal', + 'include', + 'skipCount', + 'hasHLSFiles', + 'hasWebtorrentFiles', + 'search' ]) } @@ -29,7 +34,6 @@ function pickSearchVideoQuery (query: VideosSearchQueryAfterSanitize) { ...pick(query, [ 'searchTarget', - 'search', 'host', 'startDate', 'endDate',