diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-19 09:43:01 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-19 09:43:01 +0200 |
commit | 8a02bd0433b7101c5ea36e87a4edb63204d2adec (patch) | |
tree | d7ab4b6164aef752c216bd2f22f8b3b270a724b8 /server/initializers | |
parent | 9fd540562c356cb54b98861d2d9e7d4fbfcd00e0 (diff) | |
download | PeerTube-8a02bd0433b7101c5ea36e87a4edb63204d2adec.tar.gz PeerTube-8a02bd0433b7101c5ea36e87a4edb63204d2adec.tar.zst PeerTube-8a02bd0433b7101c5ea36e87a4edb63204d2adec.zip |
Add pod list endpoint with pagination, sort...
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 491fb78f9..132164746 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -32,6 +32,7 @@ const SEARCHABLE_COLUMNS = { | |||
32 | 32 | ||
33 | // Sortable columns per schema | 33 | // Sortable columns per schema |
34 | const SORTABLE_COLUMNS = { | 34 | const SORTABLE_COLUMNS = { |
35 | PODS: [ 'id', 'host', 'score', 'createdAt' ], | ||
35 | USERS: [ 'id', 'username', 'createdAt' ], | 36 | USERS: [ 'id', 'username', 'createdAt' ], |
36 | VIDEO_ABUSES: [ 'id', 'createdAt' ], | 37 | VIDEO_ABUSES: [ 'id', 'createdAt' ], |
37 | VIDEOS: [ 'name', 'duration', 'createdAt', 'views', 'likes' ], | 38 | VIDEOS: [ 'name', 'duration', 'createdAt', 'views', 'likes' ], |