Pagination not including a previous element when expected #861
-
I do a search and it returns valid results with a next element.
Then I append page=1 and rerun the search.
Shouldn't there be a:
|
Beta Was this translation helpful? Give feedback.
Answered by
SamyPesse
Jan 24, 2025
Replies: 1 comment 1 reply
-
Our pagination logic does not support |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
joelgilchrist
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our pagination logic does not support
previous
for all endpoints. For many of our API endpoints (depending on the underlying data source), we only returnnext
.It constraints the UI that can be build on top of it, the suggestion in that case is to build it as a "infinite list" UI where fetching the next pages append the results to a long list instead of just displaying the current page.