From 314e62e40c569b7b4116a06945600ce9691c544d Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 22 Feb 2022 16:57:53 +0100 Subject: [PATCH] wip #5120 --- resources/js/search.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/js/search.js b/resources/js/search.js index c0285e2..ffc4bad 100644 --- a/resources/js/search.js +++ b/resources/js/search.js @@ -11,8 +11,8 @@ export default () => ({ fields: ['title', 'text', 'keywords'], // fields to index for full-text search storeFields: ['id', 'title', 'text', 'type', 'url', 'thumb'], // fields to return with search results searchOptions: { - prefix: true, // Allow partial matches - processTerm: (term, _fieldName) => term.length < 3 ? null : term.toLowerCase() + prefix: false, // Allow partial matches + //processTerm: (term, _fieldName) => term.length < 3 ? null : term.toLowerCase() }, }, querystring: '', // The search query query: '', // The search query -- 2.39.5