aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/helpers/query.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-12 14:19:56 +0100
committerChocobozzz <me@florianbigard.com>2021-11-12 14:23:22 +0100
commit527a52ac4295a072927ff46761766a8b181a7603 (patch)
tree632f66b1691d8d72f04630671af8bdf1655d6b00 /server/helpers/query.ts
parent8f2608e9a9d54c87ace636f99cdb9d2a7730990f (diff)
downloadPeerTube-527a52ac4295a072927ff46761766a8b181a7603.tar.gz
PeerTube-527a52ac4295a072927ff46761766a8b181a7603.tar.zst
PeerTube-527a52ac4295a072927ff46761766a8b181a7603.zip
Add ability to filter out public videos from admin
Diffstat (limited to 'server/helpers/query.ts')
-rw-r--r--server/helpers/query.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/helpers/query.ts b/server/helpers/query.ts
index 97bbdfc65..1142d02e4 100644
--- a/server/helpers/query.ts
+++ b/server/helpers/query.ts
@@ -16,6 +16,7 @@ function pickCommonVideoQuery (query: VideosCommonQueryAfterSanitize) {
16 'categoryOneOf', 16 'categoryOneOf',
17 'licenceOneOf', 17 'licenceOneOf',
18 'languageOneOf', 18 'languageOneOf',
19 'privacyOneOf',
19 'tagsOneOf', 20 'tagsOneOf',
20 'tagsAllOf', 21 'tagsAllOf',
21 'isLocal', 22 'isLocal',