Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/recommendations scroll #2749

Merged
merged 2 commits into from
May 13, 2022
Merged

Fix/recommendations scroll #2749

merged 2 commits into from
May 13, 2022

Conversation

OwsleyJr
Copy link
Collaborator

Description

TMDB API limits the total results for recommendations to 40. This would cause an infinite amount of network requests on the recommendations page as it was expecting a higher number of results. The API will now only be called if the total results is greater than 40.

To-Dos

  • Successful build yarn build

Issues Fixed or Closed

…tmdb api

TMDB API would only return 40 results and the recommendations page expected more. This would cause
an infinite amount of network requests. I set a limit specifically for this solving the problem.

fix #2710
Copy link
Collaborator

@danshilm danshilm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch ;)
Thanks a lot for this.

@danshilm danshilm merged commit 14519ef into develop May 13, 2022
@danshilm danshilm deleted the fix/recommendations-scroll branch May 13, 2022 19:15
@github-actions
Copy link

🎉 This PR is included in version 1.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Broken scroll on recommendations page
2 participants