From 86e83939869976e9b4dfa6dc9d3785a284bd598c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 8 Mar 2017 21:52:25 +0100 Subject: Allow to sort by likes --- server/initializers/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/initializers') 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 = { const SORTABLE_COLUMNS = { USERS: [ 'id', 'username', 'createdAt' ], VIDEO_ABUSES: [ 'id', 'createdAt' ], - VIDEOS: [ 'name', 'duration', 'createdAt', 'views' ] + VIDEOS: [ 'name', 'duration', 'createdAt', 'views', 'likes' ] } const OAUTH_LIFETIME = { -- cgit v1.2.3