Skip to content
New issue

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

Pagination for search #322

Open
faizanabidnaqvi opened this issue May 30, 2022 · 0 comments
Open

Pagination for search #322

faizanabidnaqvi opened this issue May 30, 2022 · 0 comments

Comments

@faizanabidnaqvi
Copy link

Hey there!

Hope you are all good! We use the provided performAlgoliaTextSearch to search for docs in collections. I think it is set to the default '20 hits per page'. Therefore, not more than 20 results are shown in the search but it doesn't allow a way to show the next page for the hits. I think when scrolling down, it should load the next page for search.

For now, we customized the textSearchController to show the max 1000 hits per page but that makes the search slower. It will be nice if the cms could load the next page when scrolling down in search results (as it does for collections when not searching) so the search stays fast for a smaller number of hits per page.

Let me know if there is already a way to achieve this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant