aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-14 10:21:44 +0200
committerChocobozzz <me@florianbigard.com>2021-04-14 11:45:14 +0200
commit456c9bfddbccbbb376f6756312a49b4183cefb90 (patch)
tree29107e610ed32d8880c665d4bfe0b2609a6bfbd0 /client/src/app/+videos
parente81af3000f1881ec5041678ae54b402b0314bd42 (diff)
downloadPeerTube-456c9bfddbccbbb376f6756312a49b4183cefb90.tar.gz
PeerTube-456c9bfddbccbbb376f6756312a49b4183cefb90.tar.zst
PeerTube-456c9bfddbccbbb376f6756312a49b4183cefb90.zip
Use published at sort for recommended videos
Diffstat (limited to 'client/src/app/+videos')
-rw-r--r--client/src/app/+videos/+video-watch/recommendations/recent-videos-recommendation.service.ts2
1 files changed, 1 insertions, 1 deletions
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
61 componentPagination: pagination, 61 componentPagination: pagination,
62 advancedSearch: new AdvancedSearch({ 62 advancedSearch: new AdvancedSearch({
63 tagsOneOf: recommendation.tags.join(','), 63 tagsOneOf: recommendation.tags.join(','),
64 sort: '-createdAt', 64 sort: '-publishedAt',
65 searchTarget: 'local', 65 searchTarget: 'local',
66 nsfw: user.nsfwPolicy 66 nsfw: user.nsfwPolicy
67 ? this.videos.nsfwPolicyToParam(user.nsfwPolicy) 67 ? this.videos.nsfwPolicyToParam(user.nsfwPolicy)