Browse Source

Fixes #1542, typo from cd9f4f9e58 fix caused fullTextRegexp to match all values in search

pull/1574/head
jlukic 10 years ago
parent
commit
4da6672581
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/search.js

2
src/definitions/modules/search.js

@ -305,7 +305,7 @@ $.fn.search = function(parameters) {
if( content[field].match(searchRegExp) ) {
results.push(content);
}
else if( settings.searchFullText && content[field].match(content[field]) ) {
else if( settings.searchFullText && content[field].match(fullTextRegExp) ) {
fullTextResults.push(content);
}
}

Loading…
Cancel
Save