From 456c9bfddbccbbb376f6756312a49b4183cefb90 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 14 Apr 2021 10:21:44 +0200 Subject: Use published at sort for recommended videos --- .../recommendations/recent-videos-recommendation.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client') diff --git a/client/src/app/+videos/+video-watch/recommendations/recent-videos-recommendation.service.ts b/client/src/app/+videos/+video-watch/recommendations/recent-videos-recommendation.service.ts index 29fa268f4..2a851f13a 100644 --- a/client/src/app/+videos/+video-watch/recommendations/recent-videos-recommendation.service.ts +++ b/client/src/app/+videos/+video-watch/recommendations/recent-videos-recommendation.service.ts @@ -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) -- cgit v1.2.3