Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Use published at sort for recommended videos

Chocobozzz456c9bfddbcc
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 29fa268f4b..2a851f13a1 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)