sort: VideoSortField = '-publishedAt'
groupByDate = true
+ useUserVideoLanguagePreferences = true
+
constructor (
protected i18n: I18n,
protected route: ActivatedRoute,
getVideosObservable (page: number) {
const newPagination = immutableAssign(this.pagination, { currentPage: page })
- return this.videoService.getVideos(newPagination, this.sort, undefined, this.categoryOneOf)
+ return this.videoService.getVideos({
+ videoPagination: newPagination,
+ sort: this.sort,
+ filter: undefined,
+ categoryOneOf: this.categoryOneOf,
+ languageOneOf: this.languageOneOf
+ })
}
generateSyndicationList () {