aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models
diff options
context:
space:
mode:
authorJlll1 <arghantentua@tutanota.com>2022-05-24 11:42:50 +0200
committerGitHub <noreply@github.com>2022-05-24 11:42:50 +0200
commitbf28e1daf17abe548459ddd82347c3f0c5f0f24a (patch)
treefc163de539c373a9540e0d306653fd2e7bb39ba6 /shared/models
parent3329325a64c21067a598ea42a5c7eb0c489aedea (diff)
downloadPeerTube-bf28e1daf17abe548459ddd82347c3f0c5f0f24a.tar.gz
PeerTube-bf28e1daf17abe548459ddd82347c3f0c5f0f24a.tar.zst
PeerTube-bf28e1daf17abe548459ddd82347c3f0c5f0f24a.zip
(#4959) Add 'Originally Published At' sort option in videos pages (#4977)
* Add Original Publication Date sort dropdown option in video filters * Make the minimal sort dropdown width 250px to acomodate for 'Originally Published At' option * Improve label Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'shared/models')
-rw-r--r--shared/models/videos/video-sort-field.type.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/models/videos/video-sort-field.type.ts b/shared/models/videos/video-sort-field.type.ts
index 5073848b8..7fa07fa73 100644
--- a/shared/models/videos/video-sort-field.type.ts
+++ b/shared/models/videos/video-sort-field.type.ts
@@ -2,6 +2,7 @@ export type VideoSortField =
2 'name' | '-name' | 2 'name' | '-name' |
3 'duration' | '-duration' | 3 'duration' | '-duration' |
4 'publishedAt' | '-publishedAt' | 4 'publishedAt' | '-publishedAt' |
5 'originallyPublishedAt' | '-originallyPublishedAt' |
5 'createdAt' | '-createdAt' | 6 'createdAt' | '-createdAt' |
6 'views' | '-views' | 7 'views' | '-views' |
7 'likes' | '-likes' | 8 'likes' | '-likes' |