Skip to content

Addressed issue #64: preserve query parameters #75

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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pacenathan
Copy link

@pacenathan pacenathan commented Jul 14, 2025

Tested in these 4 cases:

  • Redirect with no anchor or query parameter
  • Redirect with query parameter and no anchor
  • Redirect with anchor and no query parameter
  • Redirect with anchor and query parameter

Worked in all 4 cases.

@pacenathan
Copy link
Author

Note: In the case of redirect with query parameter and anchor, you can watch the query parameter send through, and the search term stays in the search field. So the modified javascript is preserving both after the redirect, but the scroll-to-anchor behavior closes the search interface itself, as one would expect.

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

Successfully merging this pull request may close these issues.

1 participant