diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-03-08 21:52:25 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-03-08 21:52:25 +0100 |
commit | 86e83939869976e9b4dfa6dc9d3785a284bd598c (patch) | |
tree | 253fecfc9b8002aaedfc1ad8e53c6d1cf850564e /server | |
parent | d38b82810638b9f664c9016fac2684454c273a77 (diff) | |
download | PeerTube-86e83939869976e9b4dfa6dc9d3785a284bd598c.tar.gz PeerTube-86e83939869976e9b4dfa6dc9d3785a284bd598c.tar.zst PeerTube-86e83939869976e9b4dfa6dc9d3785a284bd598c.zip |
Allow to sort by likes
Diffstat (limited to 'server')
-rw-r--r-- | server/initializers/constants.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index 16a2dd320..f9247e945 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -24,7 +24,7 @@ const SEARCHABLE_COLUMNS = { | |||
24 | const SORTABLE_COLUMNS = { | 24 | const SORTABLE_COLUMNS = { |
25 | USERS: [ 'id', 'username', 'createdAt' ], | 25 | USERS: [ 'id', 'username', 'createdAt' ], |
26 | VIDEO_ABUSES: [ 'id', 'createdAt' ], | 26 | VIDEO_ABUSES: [ 'id', 'createdAt' ], |
27 | VIDEOS: [ 'name', 'duration', 'createdAt', 'views' ] | 27 | VIDEOS: [ 'name', 'duration', 'createdAt', 'views', 'likes' ] |
28 | } | 28 | } |
29 | 29 | ||
30 | const OAUTH_LIFETIME = { | 30 | const OAUTH_LIFETIME = { |