aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-03-08 21:52:25 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-03-08 21:52:25 +0100
commit86e83939869976e9b4dfa6dc9d3785a284bd598c (patch)
tree253fecfc9b8002aaedfc1ad8e53c6d1cf850564e /server
parentd38b82810638b9f664c9016fac2684454c273a77 (diff)
downloadPeerTube-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.js2
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 = {
24const SORTABLE_COLUMNS = { 24const 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
30const OAUTH_LIFETIME = { 30const OAUTH_LIFETIME = {