diff --git a/phpgwapi/js/jquery/magicsuggest/src/magicsuggest-1.3.1.js b/phpgwapi/js/jquery/magicsuggest/src/magicsuggest-1.3.1.js index 50c3652f63..aff36b683e 100644 --- a/phpgwapi/js/jquery/magicsuggest/src/magicsuggest-1.3.1.js +++ b/phpgwapi/js/jquery/magicsuggest/src/magicsuggest-1.3.1.js @@ -1094,7 +1094,8 @@ $.each(data, function(index, obj) { var name = obj[cfg.displayField]; if((cfg.matchCase === true && name.indexOf(q) > -1) || - (cfg.matchCase === false && name.toLowerCase().indexOf(q.toLowerCase()) > -1)) { + (cfg.matchCase === false && name.toLowerCase().indexOf(q.toLowerCase()) > -1) || + cfg.strictSuggest === false) { if(cfg.strictSuggest === false || name.toLowerCase().indexOf(q.toLowerCase()) === 0) { filtered.push(obj); }