We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b6fccf commit 68ae9dfCopy full SHA for 68ae9df
1 file changed
app/components/Header/SearchBox.vue
@@ -80,7 +80,16 @@ function handleSearchFocus() {
80
}
81
82
function handleSubmit() {
83
- updateUrlQuery.flush()
+ if (pagesWithLocalFilter.has(route.name as string)) {
84
+ router.push({
85
+ name: 'search',
86
+ query: {
87
+ q: searchQuery.value,
88
+ },
89
+ })
90
+ } else {
91
+ updateUrlQuery.flush()
92
+ }
93
94
95
// Expose focus method for parent components
0 commit comments