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
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class pluginSearch extends Plugin {
// Inlcude Fuzz algorithm // Inlcude Fuzz algorithm
require_once($this->phpPath().'vendors/fuzz.php'); require_once($this->phpPath().'vendors/fuzz.php');
$fuzz = new Fuzz($cache, 10, 1, true); $fuzz = new Fuzz($cache, 10, 1, true);
$results = $fuzz->search($text, 4); $results = $fuzz->search($text, 3);
return(array_keys($results)); return(array_keys($results));
} }