diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-15 08:47:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-15 08:47:47 +0200 |
commit | 136cce4d6744bef7fd316b929157c1e4e3984fe3 (patch) | |
tree | c084909aff9e8d9cf50898b3534b4fe56170394f /client/src/app/shared/video/sort-field.type.ts | |
parent | efda99c30f2c04702bf57cc150cdfdd0acccc178 (diff) | |
download | PeerTube-136cce4d6744bef7fd316b929157c1e4e3984fe3.tar.gz PeerTube-136cce4d6744bef7fd316b929157c1e4e3984fe3.tar.zst PeerTube-136cce4d6744bef7fd316b929157c1e4e3984fe3.zip |
Use publishedAt by default in videos sort
Diffstat (limited to 'client/src/app/shared/video/sort-field.type.ts')
-rw-r--r-- | client/src/app/shared/video/sort-field.type.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/shared/video/sort-field.type.ts b/client/src/app/shared/video/sort-field.type.ts index 2a3ae4ddd..2192745b9 100644 --- a/client/src/app/shared/video/sort-field.type.ts +++ b/client/src/app/shared/video/sort-field.type.ts | |||
@@ -1,5 +1,6 @@ | |||
1 | export type VideoSortField = 'name' | '-name' | 1 | export type VideoSortField = 'name' | '-name' |
2 | | 'duration' | '-duration' | 2 | | 'duration' | '-duration' |
3 | | 'publishedAt' | '-publishedAt' | ||
3 | | 'createdAt' | '-createdAt' | 4 | | 'createdAt' | '-createdAt' |
4 | | 'views' | '-views' | 5 | | 'views' | '-views' |
5 | | 'likes' | '-likes' | 6 | | 'likes' | '-likes' |