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 library search works by updating the URL whenever you do a change in the filters, update the limit, or introduce a search term, then the Library route detects this change in the URL, processes it, and requests the new documents.
If you have a 300 limit, and 100 documents, there is no way to tell if the new request is happening because you updated the limit, or changed a filter, in the former you have to send an offset of 100 but in the later you have to send an offset of 0.
The solution will be to:
Include the offset in the URL
Whenever a filter is changed reset the offset to 0
If you don't have documents in the state (rendering from server) the request should be made with offset 0
We need to have pagination on the library to avoid reloading and rerendering the previous cards that are already loaded.
This is also need for: #2708 and #958
The text was updated successfully, but these errors were encountered: