diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-07-15 11:15:50 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2020-07-29 18:15:53 +0200 |
commit | 654a188f80fc1f089aa14837084664c908fe27d2 (patch) | |
tree | 63855915278c1a3aeb1509c09a7a2f5ee6977893 /server/initializers | |
parent | 292c17b894e430d61f9197fb6fa245f5f9c6fa7c (diff) | |
download | PeerTube-654a188f80fc1f089aa14837084664c908fe27d2.tar.gz PeerTube-654a188f80fc1f089aa14837084664c908fe27d2.tar.zst PeerTube-654a188f80fc1f089aa14837084664c908fe27d2.zip |
allow sorting notifications
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 2e9d3956e..fd5bf5868 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -55,7 +55,7 @@ const WEBSERVER = { | |||
55 | 55 | ||
56 | // Sortable columns per schema | 56 | // Sortable columns per schema |
57 | const SORTABLE_COLUMNS = { | 57 | const SORTABLE_COLUMNS = { |
58 | USERS: [ 'id', 'username', 'videoQuotaUsed', 'createdAt' ], | 58 | USERS: [ 'id', 'username', 'videoQuotaUsed', 'createdAt', 'lastLoginDate', 'role' ], |
59 | USER_SUBSCRIPTIONS: [ 'id', 'createdAt' ], | 59 | USER_SUBSCRIPTIONS: [ 'id', 'createdAt' ], |
60 | ACCOUNTS: [ 'createdAt' ], | 60 | ACCOUNTS: [ 'createdAt' ], |
61 | JOBS: [ 'createdAt' ], | 61 | JOBS: [ 'createdAt' ], |
@@ -78,7 +78,7 @@ const SORTABLE_COLUMNS = { | |||
78 | ACCOUNTS_BLOCKLIST: [ 'createdAt' ], | 78 | ACCOUNTS_BLOCKLIST: [ 'createdAt' ], |
79 | SERVERS_BLOCKLIST: [ 'createdAt' ], | 79 | SERVERS_BLOCKLIST: [ 'createdAt' ], |
80 | 80 | ||
81 | USER_NOTIFICATIONS: [ 'createdAt' ], | 81 | USER_NOTIFICATIONS: [ 'createdAt', 'read' ], |
82 | 82 | ||
83 | VIDEO_PLAYLISTS: [ 'displayName', 'createdAt', 'updatedAt' ], | 83 | VIDEO_PLAYLISTS: [ 'displayName', 'createdAt', 'updatedAt' ], |
84 | 84 | ||