1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Server: add user list sort/pagination

This commit is contained in:
Chocobozzz 2016-08-16 22:31:45 +02:00
parent 089ff2f204
commit 5c39adb731
11 changed files with 200 additions and 17 deletions

View file

@ -63,6 +63,7 @@ const SEEDS_IN_PARALLEL = 3
// Sortable columns per schema
const SORTABLE_COLUMNS = {
USERS: [ 'username', '-username', 'createdDate', '-createdDate' ],
VIDEOS: [ 'name', '-name', 'duration', '-duration', 'createdDate', '-createdDate' ]
}