diff options
Diffstat (limited to 'client/src/app/videos')
3 files changed, 6 insertions, 6 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 dbe1d937d..de460ea60 100644 --- a/client/src/app/videos/video-list/video-local.component.ts +++ b/client/src/app/videos/video-list/video-local.component.ts | |||
@@ -50,10 +50,10 @@ export class VideoLocalComponent extends AbstractVideoList implements OnInit, On | |||
50 | getVideosObservable (page: number) { | 50 | getVideosObservable (page: number) { |
51 | const newPagination = immutableAssign(this.pagination, { currentPage: page }) | 51 | const newPagination = immutableAssign(this.pagination, { currentPage: page }) |
52 | 52 | ||
53 | return this.videoService.getVideos(newPagination, this.sort, this.filter) | 53 | return this.videoService.getVideos(newPagination, this.sort, this.filter, this.category) |
54 | } | 54 | } |
55 | 55 | ||
56 | generateSyndicationList () { | 56 | generateSyndicationList () { |
57 | this.syndicationItems = this.videoService.getVideoFeedUrls(this.sort, this.filter) | 57 | this.syndicationItems = this.videoService.getVideoFeedUrls(this.sort, this.filter, this.category) |
58 | } | 58 | } |
59 | } | 59 | } |
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 004a49168..75688731d 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 | |||
@@ -48,10 +48,10 @@ export class VideoRecentlyAddedComponent extends AbstractVideoList implements On | |||
48 | getVideosObservable (page: number) { | 48 | getVideosObservable (page: number) { |
49 | const newPagination = immutableAssign(this.pagination, { currentPage: page }) | 49 | const newPagination = immutableAssign(this.pagination, { currentPage: page }) |
50 | 50 | ||
51 | return this.videoService.getVideos(newPagination, this.sort) | 51 | return this.videoService.getVideos(newPagination, this.sort, undefined, this.category) |
52 | } | 52 | } |
53 | 53 | ||
54 | generateSyndicationList () { | 54 | generateSyndicationList () { |
55 | this.syndicationItems = this.videoService.getVideoFeedUrls(this.sort) | 55 | this.syndicationItems = this.videoService.getVideoFeedUrls(this.sort, undefined, this.category) |
56 | } | 56 | } |
57 | } | 57 | } |
diff --git a/client/src/app/videos/video-list/video-trending.component.ts b/client/src/app/videos/video-list/video-trending.component.ts index f2174aa14..3738b95b1 100644 --- a/client/src/app/videos/video-list/video-trending.component.ts +++ b/client/src/app/videos/video-list/video-trending.component.ts | |||
@@ -47,10 +47,10 @@ export class VideoTrendingComponent extends AbstractVideoList implements OnInit, | |||
47 | 47 | ||
48 | getVideosObservable (page: number) { | 48 | getVideosObservable (page: number) { |
49 | const newPagination = immutableAssign(this.pagination, { currentPage: page }) | 49 | const newPagination = immutableAssign(this.pagination, { currentPage: page }) |
50 | return this.videoService.getVideos(newPagination, this.sort) | 50 | return this.videoService.getVideos(newPagination, this.sort, undefined, this.category) |
51 | } | 51 | } |
52 | 52 | ||
53 | generateSyndicationList () { | 53 | generateSyndicationList () { |
54 | this.syndicationItems = this.videoService.getVideoFeedUrls(this.sort) | 54 | this.syndicationItems = this.videoService.getVideoFeedUrls(this.sort, undefined, this.category) |
55 | } | 55 | } |
56 | } | 56 | } |