]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/constants.ts
Add ability to search video channels
[github/Chocobozzz/PeerTube.git] / server / initializers / constants.ts
index 46b63c5e903ae4579404914c03ae90d0eefd7cd0..9beb9b7c242741388d09085c12babff0f0646265 100644 (file)
@@ -43,7 +43,8 @@ const SORTABLE_COLUMNS = {
   FOLLOWERS: [ 'createdAt' ],
   FOLLOWING: [ 'createdAt' ],
 
-  VIDEOS_SEARCH: [ 'match', 'name', 'duration', 'createdAt', 'publishedAt', 'views', 'likes' ]
+  VIDEOS_SEARCH: [ 'match', 'name', 'duration', 'createdAt', 'publishedAt', 'views', 'likes' ],
+  VIDEO_CHANNELS_SEARCH: [ 'match', 'displayName' ]
 }
 
 const OAUTH_LIFETIME = {