diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-03 11:32:41 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-03 11:32:41 +0100 |
commit | d324756edb836672f12284cd18e642a658b273d8 (patch) | |
tree | 3b323682bd7380491ad904daaeaea10be606e0f9 /server/helpers | |
parent | d5d9c5b79edf613e97a752a3d59062fb42045275 (diff) | |
download | PeerTube-d324756edb836672f12284cd18e642a658b273d8.tar.gz PeerTube-d324756edb836672f12284cd18e642a658b273d8.tar.zst PeerTube-d324756edb836672f12284cd18e642a658b273d8.zip |
Add ability to filter by file type
Diffstat (limited to 'server/helpers')
-rw-r--r-- | server/helpers/query.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/helpers/query.ts b/server/helpers/query.ts index 79cf076d1..97bbdfc65 100644 --- a/server/helpers/query.ts +++ b/server/helpers/query.ts | |||
@@ -21,6 +21,8 @@ function pickCommonVideoQuery (query: VideosCommonQueryAfterSanitize) { | |||
21 | 'isLocal', | 21 | 'isLocal', |
22 | 'include', | 22 | 'include', |
23 | 'skipCount', | 23 | 'skipCount', |
24 | 'hasHLSFiles', | ||
25 | 'hasWebtorrentFiles', | ||
24 | 'search' | 26 | 'search' |
25 | ]) | 27 | ]) |
26 | } | 28 | } |