diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-03-08 21:52:25 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-03-08 21:52:25 +0100 |
commit | 86e83939869976e9b4dfa6dc9d3785a284bd598c (patch) | |
tree | 253fecfc9b8002aaedfc1ad8e53c6d1cf850564e /client/src/app/videos/shared | |
parent | d38b82810638b9f664c9016fac2684454c273a77 (diff) | |
download | PeerTube-86e83939869976e9b4dfa6dc9d3785a284bd598c.tar.gz PeerTube-86e83939869976e9b4dfa6dc9d3785a284bd598c.tar.zst PeerTube-86e83939869976e9b4dfa6dc9d3785a284bd598c.zip |
Allow to sort by likes
Diffstat (limited to 'client/src/app/videos/shared')
-rw-r--r-- | client/src/app/videos/shared/sort-field.type.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/src/app/videos/shared/sort-field.type.ts b/client/src/app/videos/shared/sort-field.type.ts index 7bda3112a..6cc598d8b 100644 --- a/client/src/app/videos/shared/sort-field.type.ts +++ b/client/src/app/videos/shared/sort-field.type.ts | |||
@@ -1,3 +1,6 @@ | |||
1 | export type SortField = 'name' | '-name' | 1 | export type SortField = 'name' | '-name' |
2 | | 'duration' | '-duration' | 2 | | 'duration' | '-duration' |
3 | | 'createdAt' | '-createdAt'; | 3 | | 'createdAt' | '-createdAt' |
4 | | 'views' | '-views' | ||
5 | | 'likes' | '-likes'; | ||
6 | |||