diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-04-18 10:00:19 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2020-05-01 16:41:02 +0200 |
commit | 844db39ee56ff0dd59a96acfc68f10f9ac53000b (patch) | |
tree | e9b33b09c08465e73819cf189a112ec17b044349 /server/controllers/api | |
parent | 36d0677ec95605eca0543712686c591fb8e6f3c1 (diff) | |
download | PeerTube-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')
-rw-r--r-- | server/controllers/api/videos/abuse.ts | 1 |
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 | }) |