Skip to content

Retain initial search after an empty query delimiter - #578

Open
feritcemkahraman wants to merge 1 commit into
molefrog:mainfrom
feritcemkahraman:fix/initial-empty-query
Open

feritcemkahraman wants to merge 1 commit into
molefrog:mainfrom
feritcemkahraman:fix/initial-empty-query

Conversation

@feritcemkahraman

Copy link
Copy Markdown

memoryLocation({ path: "/search?", searchPath: "page=2" }) creates /search??page=2 and drops the initial search. Reuse the existing empty query delimiter when appending searchPath.

The regression fails before this change and covers the rendered path/search, recorded history, and reset. All 270 React/Preact tests pass (one existing Preact SSR skip), with 100% line coverage. Type checks, lint, formatting, Preact source preparation, and all ten size limits pass. Real-browser matrix not run.

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

This branch has not been deployed

No deployments
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