aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorArman <Arman1371@gmail.com>2020-12-01 16:26:37 +0330
committerChocobozzz <chocobozzz@cpy.re>2020-12-01 14:58:35 +0100
commit117c643e45364340b9eaa0783ee2d23abc0324df (patch)
tree3ca70914d85d810db7defa76b03a5c59f60ce4a0 /server/initializers
parent8c666c44ab3109ce2ad432bf2f98cc0505593543 (diff)
downloadPeerTube-117c643e45364340b9eaa0783ee2d23abc0324df.tar.gz
PeerTube-117c643e45364340b9eaa0783ee2d23abc0324df.tar.zst
PeerTube-117c643e45364340b9eaa0783ee2d23abc0324df.zip
Fix sort fields on Video Playlists
displayName does not exist in VideoPlaylistModel, the correct field is `name`
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 da837837e..b7783eb68 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -85,7 +85,7 @@ const SORTABLE_COLUMNS = {
85 85
86 USER_NOTIFICATIONS: [ 'createdAt', 'read' ], 86 USER_NOTIFICATIONS: [ 'createdAt', 'read' ],
87 87
88 VIDEO_PLAYLISTS: [ 'displayName', 'createdAt', 'updatedAt' ], 88 VIDEO_PLAYLISTS: [ 'name', 'createdAt', 'updatedAt' ],
89 89
90 PLUGINS: [ 'name', 'createdAt', 'updatedAt' ], 90 PLUGINS: [ 'name', 'createdAt', 'updatedAt' ],
91 91