dfef97d715
## Issue 4609: If claim search on latter page fails, don't clear out all previous data ## Note This requires an accompanying change in `lbry-redux` to mark `claimSearchResultLastPageReached` during timeout and to not purge past results. ## Change The previous flow was: increment the page, and expect the next render to either be 0 (timeout + purge) or fill in at least 1 new item. Since it is now possible for no results to be returned for the new page (due to timeout + no purging), the code continues to make another query. This commit stops the perpetual querying. ## Test Case: 1. https://lbry.tv/$/discover?t=imherelbry&content=video&order=top&fresh=year 2. Scroll down a few pages until it timeout happens. Past results are gone. |
||
---|---|---|
.. | ||
component | ||
constants | ||
effects | ||
modal | ||
page | ||
redux | ||
scss | ||
util | ||
analytics.js | ||
app.js | ||
i18n.js | ||
index.jsx | ||
logWarningConsoleMessage.js | ||
native.js | ||
reducers.js | ||
rewards.js | ||
store.js |