Use published at sort for recommended videos

This commit is contained in:
Chocobozzz 2021-04-14 10:21:44 +02:00
parent e81af3000f
commit 456c9bfddb
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ export class RecentVideosRecommendationService implements RecommendationService
componentPagination: pagination,
advancedSearch: new AdvancedSearch({
tagsOneOf: recommendation.tags.join(','),
sort: '-createdAt',
sort: '-publishedAt',
searchTarget: 'local',
nsfw: user.nsfwPolicy
? this.videos.nsfwPolicyToParam(user.nsfwPolicy)