Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jesperengstrom committed Dec 9, 2024
1 parent 4acbc39 commit 1a443e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxl-web/src/lib/components/Search.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
afterNavigate(({ to }) => {
/** Update input value after navigation on /find route */
if (to?.url) {
let param = $page.url.searchParams.get('_x') === 'advanced' ? '_q' : '_i';
let param = $page.url.searchParams.get('_x') === 'advanced' || useSuperSearch ? '_q' : '_i';
q = $page.params.fnurgel ? '' : new URL(to.url).searchParams.get(param)?.trim() || '';
}
});
Expand Down

0 comments on commit 1a443e6

Please sign in to comment.