diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-02-26 19:59:51 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-02-26 20:01:26 +0100 |
commit | 05a9feaa48cea560abd9561434a3479ab1021643 (patch) | |
tree | c0a8705a4a05fb806d5cdad294b74b78e8985723 /client/src/app/videos/video-list/video-sort.component.ts | |
parent | f282639b07deee1e35403bd86c46ea521fb4845e (diff) | |
download | PeerTube-05a9feaa48cea560abd9561434a3479ab1021643.tar.gz PeerTube-05a9feaa48cea560abd9561434a3479ab1021643.tar.zst PeerTube-05a9feaa48cea560abd9561434a3479ab1021643.zip |
Client: add views information and sort
Diffstat (limited to 'client/src/app/videos/video-list/video-sort.component.ts')
-rw-r--r-- | client/src/app/videos/video-list/video-sort.component.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/videos/video-list/video-sort.component.ts b/client/src/app/videos/video-list/video-sort.component.ts index 53951deb4..c950fa8aa 100644 --- a/client/src/app/videos/video-list/video-sort.component.ts +++ b/client/src/app/videos/video-list/video-sort.component.ts | |||
@@ -18,7 +18,9 @@ export class VideoSortComponent { | |||
18 | 'duration': 'Duration - Asc', | 18 | 'duration': 'Duration - Asc', |
19 | '-duration': 'Duration - Desc', | 19 | '-duration': 'Duration - Desc', |
20 | 'createdAt': 'Created Date - Asc', | 20 | 'createdAt': 'Created Date - Asc', |
21 | '-createdAt': 'Created Date - Desc' | 21 | '-createdAt': 'Created Date - Desc', |
22 | 'views': 'Views - Asc', | ||
23 | '-views': 'Views - Desc' | ||
22 | }; | 24 | }; |
23 | 25 | ||
24 | get choiceKeys() { | 26 | get choiceKeys() { |