diff options
Diffstat (limited to 'client/src/app/videos/video-list')
-rw-r--r-- | client/src/app/videos/video-list/video-local.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/videos/video-list/video-recently-added.component.ts | 2 |
2 files changed, 2 insertions, 2 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, |
diff --git a/client/src/app/videos/video-list/video-recently-added.component.ts b/client/src/app/videos/video-list/video-recently-added.component.ts index 535b6e618..d064d9628 100644 --- a/client/src/app/videos/video-list/video-recently-added.component.ts +++ b/client/src/app/videos/video-list/video-recently-added.component.ts | |||
@@ -16,7 +16,7 @@ import { VideoService } from '../../shared/video/video.service' | |||
16 | export class VideoRecentlyAddedComponent extends AbstractVideoList implements OnInit, OnDestroy { | 16 | export class VideoRecentlyAddedComponent extends AbstractVideoList implements OnInit, OnDestroy { |
17 | titlePage = 'Recently added' | 17 | titlePage = 'Recently added' |
18 | currentRoute = '/videos/recently-added' | 18 | currentRoute = '/videos/recently-added' |
19 | sort: VideoSortField = '-createdAt' | 19 | sort: VideoSortField = '-publishedAt' |
20 | 20 | ||
21 | constructor (protected router: Router, | 21 | constructor (protected router: Router, |
22 | protected route: ActivatedRoute, | 22 | protected route: ActivatedRoute, |