From 061ae40fb7c92ac2a02f5b310ca92e4068f1a3e4 Mon Sep 17 00:00:00 2001 From: indykoning <15870933+indykoning@users.noreply.github.com> Date: Tue, 29 Oct 2024 16:46:06 +0100 Subject: [PATCH] Pass searchoptions to search Currently the "filter" option is broken --- src/client/theme-default/components/VPLocalSearchBox.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/theme-default/components/VPLocalSearchBox.vue b/src/client/theme-default/components/VPLocalSearchBox.vue index 951a7536c420..7b2399c977fe 100644 --- a/src/client/theme-default/components/VPLocalSearchBox.vue +++ b/src/client/theme-default/components/VPLocalSearchBox.vue @@ -161,7 +161,7 @@ debouncedWatch( // Search results.value = index - .search(filterTextValue) + .search(filterTextValue, searchIndex.value._options.searchOptions) .slice(0, 16) as (SearchResult & Result)[] enableNoResults.value = true