aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-15 08:47:47 +0200
committerChocobozzz <me@florianbigard.com>2018-05-15 08:47:47 +0200
commit136cce4d6744bef7fd316b929157c1e4e3984fe3 (patch)
treec084909aff9e8d9cf50898b3534b4fe56170394f /server/initializers
parentefda99c30f2c04702bf57cc150cdfdd0acccc178 (diff)
downloadPeerTube-136cce4d6744bef7fd316b929157c1e4e3984fe3.tar.gz
PeerTube-136cce4d6744bef7fd316b929157c1e4e3984fe3.tar.zst
PeerTube-136cce4d6744bef7fd316b929157c1e4e3984fe3.zip
Use publishedAt by default in videos sort
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
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 = {
30 JOBS: [ 'createdAt' ], 30 JOBS: [ 'createdAt' ],
31 VIDEO_ABUSES: [ 'id', 'createdAt' ], 31 VIDEO_ABUSES: [ 'id', 'createdAt' ],
32 VIDEO_CHANNELS: [ 'id', 'name', 'updatedAt', 'createdAt' ], 32 VIDEO_CHANNELS: [ 'id', 'name', 'updatedAt', 'createdAt' ],
33 VIDEOS: [ 'name', 'duration', 'createdAt', 'views', 'likes' ], 33 VIDEOS: [ 'name', 'duration', 'createdAt', 'publishedAt', 'views', 'likes' ],
34 VIDEO_COMMENT_THREADS: [ 'createdAt' ], 34 VIDEO_COMMENT_THREADS: [ 'createdAt' ],
35 BLACKLISTS: [ 'id', 'name', 'duration', 'views', 'likes', 'dislikes', 'uuid', 'createdAt' ], 35 BLACKLISTS: [ 'id', 'name', 'duration', 'views', 'likes', 'dislikes', 'uuid', 'createdAt' ],
36 FOLLOWERS: [ 'createdAt' ], 36 FOLLOWERS: [ 'createdAt' ],