From: Vincent Vanwaelscappel Date: Tue, 22 Feb 2022 15:57:53 +0000 (+0100) Subject: wip #5120 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=314e62e40c569b7b4116a06945600ce9691c544d;p=odl.git wip #5120 --- 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