Skip to content

widgets.infiniteHits when you use the load previous results that query parameters do not update correct #238

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

Open
storeconn opened this issue Apr 16, 2025 · 0 comments

Comments

@storeconn
Copy link

When you usiing the widgets.infiniteHits and use the "showPrevious: true," option to load previous results the uri query do not update the pageQuery var correct. It only works forward with "show more".

  1. Load results with the infiniteHits widget
  2. Scrolldown klick "show more"
  3. Query [page]=2 (which is correct)
  4. Reload the page and use "previous load" => results are prepend but [query] is still "2" which is wrong it should be "1" or removed because when site refresh you get again the results from page "2"

Image

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