Min lenght to search 3 chars

This commit is contained in:
Diego Najar 2018-11-28 20:20:04 +01:00
parent 2ba4edc008
commit 075fb44006

View File

@ -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));
}