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/videos/video-list/video-local.component.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/videos/video-list/video-local.component.ts')
-rw-r--r-- | client/src/app/videos/video-list/video-local.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/video-list/video-local.component.ts b/client/src/app/videos/video-list/video-local.component.ts index fd67be67b..abab7504f 100644 --- a/client/src/app/videos/video-list/video-local.component.ts +++ b/client/src/app/videos/video-list/video-local.component.ts | |||
@@ -17,7 +17,7 @@ import { VideoFilter } from '../../../../../shared/models/videos/video-query.typ | |||
17 | export class VideoLocalComponent extends AbstractVideoList implements OnInit, OnDestroy { | 17 | export class VideoLocalComponent extends AbstractVideoList implements OnInit, OnDestroy { |
18 | titlePage = 'Local videos' | 18 | titlePage = 'Local videos' |
19 | currentRoute = '/videos/local' | 19 | currentRoute = '/videos/local' |
20 | sort = '-createdAt' as VideoSortField | 20 | sort = '-publishedAt' as VideoSortField |
21 | filter: VideoFilter = 'local' | 21 | filter: VideoFilter = 'local' |
22 | 22 | ||
23 | constructor (protected router: Router, | 23 | constructor (protected router: Router, |