X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Finitializers%2Fconstants.ts;h=5a7d91160d8fd495323e9a512fabe1d916de8036;hb=136cce4d6744bef7fd316b929157c1e4e3984fe3;hp=6c9b780682b9334352a3b1b14ccc47d3fda2144a;hpb=9675333decd0b89b73a4fc67b39272f7296bfe3f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 6c9b78068..5a7d91160 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -30,7 +30,7 @@ const SORTABLE_COLUMNS = { JOBS: [ 'createdAt' ], VIDEO_ABUSES: [ 'id', 'createdAt' ], VIDEO_CHANNELS: [ 'id', 'name', 'updatedAt', 'createdAt' ], - VIDEOS: [ 'name', 'duration', 'createdAt', 'views', 'likes' ], + VIDEOS: [ 'name', 'duration', 'createdAt', 'publishedAt', 'views', 'likes' ], VIDEO_COMMENT_THREADS: [ 'createdAt' ], BLACKLISTS: [ 'id', 'name', 'duration', 'views', 'likes', 'dislikes', 'uuid', 'createdAt' ], FOLLOWERS: [ 'createdAt' ],