From 075fb44006d86190ddf2c8fc5400d60ac11294a8 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Wed, 28 Nov 2018 20:20:04 +0100 Subject: [PATCH] Min lenght to search 3 chars --- bl-plugins/search/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bl-plugins/search/plugin.php b/bl-plugins/search/plugin.php index 2995ec97..fa9bcbc4 100644 --- a/bl-plugins/search/plugin.php +++ b/bl-plugins/search/plugin.php @@ -188,7 +188,7 @@ class pluginSearch extends Plugin { // Inlcude Fuzz algorithm require_once($this->phpPath().'vendors/fuzz.php'); $fuzz = new Fuzz($cache, 10, 1, true); - $results = $fuzz->search($text, 4); + $results = $fuzz->search($text, 3); return(array_keys($results)); }