diff options
Diffstat (limited to 'server/initializers/constants.js')
-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 | ||