We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All results should be returned eventually
The interface stops offering to load more results before they have all been returned
This is caused by the hasMore logic in app/javascript/mastodon/features/search/index.tsx relying on the number of results being equal to 1 modulo 10.
hasMore
app/javascript/mastodon/features/search/index.tsx
This logic is really brittle, and in particular will always break after a few pages because we expand new results by 11 new items, not 10.
mastodon.social
v4.4.0-nightly.2024-12-18
Firefox 133
Linux
No response
The text was updated successfully, but these errors were encountered:
Fix WebUI erroneously stopping to offer expanding search results afte…
0ae3201
…r a few pages Partially addresses #33427
No branches or pull requests
Steps to reproduce the problem
Expected behaviour
All results should be returned eventually
Actual behaviour
The interface stops offering to load more results before they have all been returned
Detailed description
This is caused by the
hasMore
logic inapp/javascript/mastodon/features/search/index.tsx
relying on the number of results being equal to 1 modulo 10.This logic is really brittle, and in particular will always break after a few pages because we expand new results by 11 new items, not 10.
Mastodon instance
mastodon.social
Mastodon version
v4.4.0-nightly.2024-12-18
Browser name and version
Firefox 133
Operating system
Linux
Technical details
No response
The text was updated successfully, but these errors were encountered: