]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/constants.js
Client: replace simple tables by ng2 smart table component
[github/Chocobozzz/PeerTube.git] / server / initializers / constants.js
index 90adbf406269db8e219e935ff1993d299e723bd1..ad7cf4f4da9e3efb7d198af0e594899fdd3ae104 100644 (file)
@@ -18,8 +18,8 @@ const SEARCHABLE_COLUMNS = {
 
 // Sortable columns per schema
 const SORTABLE_COLUMNS = {
-  USERS: [ 'username', '-username', 'createdAt', '-createdAt' ],
-  VIDEO_ABUSES: [ 'createdAt', '-createdAt' ],
+  USERS: [ 'id', '-id', 'username', '-username', 'createdAt', '-createdAt' ],
+  VIDEO_ABUSES: [ 'id', '-id', 'createdAt', '-createdAt' ],
   VIDEOS: [ 'name', '-name', 'duration', '-duration', 'createdAt', '-createdAt' ]
 }