diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-31 11:14:38 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-31 11:15:50 +0200 |
commit | 34c7f429e411fb911dfa56a816b638fd665717a4 (patch) | |
tree | af6b7658788a2304301a4793b7e9a293c8d2e1e6 /client/src/app/videos/video-list/video-recently-added.component.ts | |
parent | e6b04e0e796c1b36d15fbe732e89ef4820dcabd9 (diff) | |
download | PeerTube-34c7f429e411fb911dfa56a816b638fd665717a4.tar.gz PeerTube-34c7f429e411fb911dfa56a816b638fd665717a4.tar.zst PeerTube-34c7f429e411fb911dfa56a816b638fd665717a4.zip |
Group videos on chronological order
Diffstat (limited to 'client/src/app/videos/video-list/video-recently-added.component.ts')
-rw-r--r-- | client/src/app/videos/video-list/video-recently-added.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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 80cef813e..f54bade98 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 | |||
@@ -17,15 +17,16 @@ import { Notifier, ServerService } from '@app/core' | |||
17 | export class VideoRecentlyAddedComponent extends AbstractVideoList implements OnInit, OnDestroy { | 17 | export class VideoRecentlyAddedComponent extends AbstractVideoList implements OnInit, OnDestroy { |
18 | titlePage: string | 18 | titlePage: string |
19 | sort: VideoSortField = '-publishedAt' | 19 | sort: VideoSortField = '-publishedAt' |
20 | groupByDate = true | ||
20 | 21 | ||
21 | constructor ( | 22 | constructor ( |
23 | protected i18n: I18n, | ||
22 | protected route: ActivatedRoute, | 24 | protected route: ActivatedRoute, |
23 | protected serverService: ServerService, | 25 | protected serverService: ServerService, |
24 | protected router: Router, | 26 | protected router: Router, |
25 | protected notifier: Notifier, | 27 | protected notifier: Notifier, |
26 | protected authService: AuthService, | 28 | protected authService: AuthService, |
27 | protected screenService: ScreenService, | 29 | protected screenService: ScreenService, |
28 | private i18n: I18n, | ||
29 | private videoService: VideoService | 30 | private videoService: VideoService |
30 | ) { | 31 | ) { |
31 | super() | 32 | super() |