X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Fhelpers%2Fquery.ts;h=10efae41cf31e3de7ba1833d2ed5afc591c7f21c;hb=ce1b5ba78c35cfd4df123cab49aef1d14ca0f9b7;hp=1142d02e46258d1dfdb6b72c744753580c417408;hpb=527a52ac4295a072927ff46761766a8b181a7603;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/helpers/query.ts b/server/helpers/query.ts index 1142d02e4..10efae41c 100644 --- a/server/helpers/query.ts +++ b/server/helpers/query.ts @@ -24,7 +24,8 @@ function pickCommonVideoQuery (query: VideosCommonQueryAfterSanitize) { 'skipCount', 'hasHLSFiles', 'hasWebtorrentFiles', - 'search' + 'search', + 'excludeAlreadyWatched' ]) } @@ -41,7 +42,8 @@ function pickSearchVideoQuery (query: VideosSearchQueryAfterSanitize) { 'originallyPublishedEndDate', 'durationMin', 'durationMax', - 'uuids' + 'uuids', + 'excludeAlreadyWatched' ]) } }