You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last element of the first movie recommendations' page is the same of the next pagination. Root cause is the TMDB API's response.
There are two ways to solve this:
return a page of 19 from the backend (there's no way to check with previous page, without caching or network calls),
(if found to be the same) skip the first element of the next page whilst stitching together the pages in the frontend.
Both have pros and cons, I'd implement a PR for the second one.
Version
1.4.1
Steps to Reproduce
Fetch the recommendations API for a TMDB movie, look at the last recommendation of the first page. It's identical to the first recommendation of the second page.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Description
The last element of the first movie recommendations' page is the same of the next pagination. Root cause is the TMDB API's response.
There are two ways to solve this:
Both have pros and cons, I'd implement a PR for the second one.
Version
1.4.1
Steps to Reproduce
Fetch the recommendations API for a TMDB movie, look at the last recommendation of the first page. It's identical to the first recommendation of the second page.
Screenshots
Logs
No response
Platform
desktop
Device
any
Operating System
any
Browser
any
Additional Context
Coming from downstream jellyseerr issue
Code of Conduct
The text was updated successfully, but these errors were encountered: