diff --git a/addons/web/static/lib/fuzzy-master/fuzzy.js b/addons/web/static/lib/fuzzy-master/fuzzy.js index d1805ff7ee8..0103eaa85bc 100644 --- a/addons/web/static/lib/fuzzy-master/fuzzy.js +++ b/addons/web/static/lib/fuzzy-master/fuzzy.js @@ -61,7 +61,7 @@ fuzzy.match = function(pattern, string, opts) { patternIdx += 1; // consecutive characters should increase the score more than linearly - currScore += 1 + currScore; + currScore += 1 + currScore - idx/1000; } else { currScore = 0; }