Skip to content

Commit f99e295

Browse files
authored
Merge pull request arm-education#98 from arm-university/main
increase no.of search results
2 parents 1237c27 + a3e8da5 commit f99e295

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • docs/_includes/search-providers/default

docs/_includes/search-providers/default/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ window.Lazyload.js([SOURCES.jquery, PAHTS.search_js], function() {
2222
for (j = 0; j < searchData[key].length; j++) {
2323
cur = searchData[key][j];
2424
var haystack = (cur.title || '').toLowerCase() + ' ' + (cur.full_description || '').toLowerCase();
25-
if ((result[key] === undefined || result[key] && result[key].length < 4 )
25+
if ((result[key] === undefined || result[key] && result[key].length < 8 )
2626
&& haystack.indexOf(query.toLowerCase()) >= 0) {
2727
if (result[key] === undefined) {
2828
result[key] = [];

0 commit comments

Comments
 (0)