diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-30 22:41:14 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-30 22:41:14 +0100 |
commit | 28798b5d949826551740fc893d06e6424b77aa6a (patch) | |
tree | e235a7f49164a06c4b76df49ca61b89998d4ed81 /server | |
parent | 13fc89f4a4b91b3da10493517de556240fb65463 (diff) | |
download | PeerTube-28798b5d949826551740fc893d06e6424b77aa6a.tar.gz PeerTube-28798b5d949826551740fc893d06e6424b77aa6a.tar.zst PeerTube-28798b5d949826551740fc893d06e6424b77aa6a.zip |
Client: replace simple tables by ng2 smart table component
Diffstat (limited to 'server')
-rw-r--r-- | server/initializers/constants.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index 90adbf406..ad7cf4f4d 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -18,8 +18,8 @@ const SEARCHABLE_COLUMNS = { | |||
18 | 18 | ||
19 | // Sortable columns per schema | 19 | // Sortable columns per schema |
20 | const SORTABLE_COLUMNS = { | 20 | const SORTABLE_COLUMNS = { |
21 | USERS: [ 'username', '-username', 'createdAt', '-createdAt' ], | 21 | USERS: [ 'id', '-id', 'username', '-username', 'createdAt', '-createdAt' ], |
22 | VIDEO_ABUSES: [ 'createdAt', '-createdAt' ], | 22 | VIDEO_ABUSES: [ 'id', '-id', 'createdAt', '-createdAt' ], |
23 | VIDEOS: [ 'name', '-name', 'duration', '-duration', 'createdAt', '-createdAt' ] | 23 | VIDEOS: [ 'name', '-name', 'duration', '-duration', 'createdAt', '-createdAt' ] |
24 | } | 24 | } |
25 | 25 | ||