aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/videos
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-04-18 10:00:19 +0200
committerRigel Kent <par@rigelk.eu>2020-05-01 16:41:02 +0200
commit844db39ee56ff0dd59a96acfc68f10f9ac53000b (patch)
treee9b33b09c08465e73819cf189a112ec17b044349 /server/controllers/api/videos
parent36d0677ec95605eca0543712686c591fb8e6f3c1 (diff)
downloadPeerTube-844db39ee56ff0dd59a96acfc68f10f9ac53000b.tar.gz
PeerTube-844db39ee56ff0dd59a96acfc68f10f9ac53000b.tar.zst
PeerTube-844db39ee56ff0dd59a96acfc68f10f9ac53000b.zip
Add search for video, reporter and channel name fields
Diffstat (limited to 'server/controllers/api/videos')
-rw-r--r--server/controllers/api/videos/abuse.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/controllers/api/videos/abuse.ts b/server/controllers/api/videos/abuse.ts
index 4ae899b7e..f37d90896 100644
--- a/server/controllers/api/videos/abuse.ts
+++ b/server/controllers/api/videos/abuse.ts
@@ -69,6 +69,7 @@ async function listVideoAbuses (req: express.Request, res: express.Response) {
69 start: req.query.start, 69 start: req.query.start,
70 count: req.query.count, 70 count: req.query.count,
71 sort: req.query.sort, 71 sort: req.query.sort,
72 search: req.query.search,
72 serverAccountId: serverActor.Account.id, 73 serverAccountId: serverActor.Account.id,
73 user 74 user
74 }) 75 })