diff options
author | Jlll1 <arghantentua@tutanota.com> | 2022-05-24 11:42:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-24 11:42:50 +0200 |
commit | bf28e1daf17abe548459ddd82347c3f0c5f0f24a (patch) | |
tree | fc163de539c373a9540e0d306653fd2e7bb39ba6 /client/src/app/shared/shared-video-miniature/video-filters-header.component.html | |
parent | 3329325a64c21067a598ea42a5c7eb0c489aedea (diff) | |
download | PeerTube-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 'client/src/app/shared/shared-video-miniature/video-filters-header.component.html')
-rw-r--r-- | client/src/app/shared/shared-video-miniature/video-filters-header.component.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html index a07b8b5ee..fe7a59bdb 100644 --- a/client/src/app/shared/shared-video-miniature/video-filters-header.component.html +++ b/client/src/app/shared/shared-video-miniature/video-filters-header.component.html | |||
@@ -44,6 +44,7 @@ | |||
44 | [searchable]="false" | 44 | [searchable]="false" |
45 | > | 45 | > |
46 | <ng-option i18n value="-publishedAt">Sort by <strong>"Recently Added"</strong></ng-option> | 46 | <ng-option i18n value="-publishedAt">Sort by <strong>"Recently Added"</strong></ng-option> |
47 | <ng-option i18n value="-originallyPublishedAt">Sort by <strong>"Original Publication Date"</strong></ng-option> | ||
47 | 48 | ||
48 | <ng-option i18n *ngIf="isTrendingSortEnabled('most-viewed')" value="-trending">Sort by <strong>"Recent Views"</strong></ng-option> | 49 | <ng-option i18n *ngIf="isTrendingSortEnabled('most-viewed')" value="-trending">Sort by <strong>"Recent Views"</strong></ng-option> |
49 | <ng-option i18n *ngIf="isTrendingSortEnabled('hot')" value="-hot">Sort by <strong>"Hot"</strong></ng-option> | 50 | <ng-option i18n *ngIf="isTrendingSortEnabled('hot')" value="-hot">Sort by <strong>"Hot"</strong></ng-option> |