Skip to content

Commit

Permalink
Merge pull request #175 from awoods/patch-1
Browse files Browse the repository at this point in the history
Update search-ui.js : typo in query config
  • Loading branch information
mnyrop authored Nov 27, 2023
2 parents 450aca0 + 9c22991 commit e9a3993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/search-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function startSearchUI(fields, indexFile, url) {
$('input#search').on('keyup', function() {
var results_div = $('#results');
var query = $(this).val();
var results = index.search(query, { boolean: 'AND', expand: true });
var results = index.search(query, { bool: 'AND', expand: true });

results_div.empty();
results_div.append(`<p class="results-info">Displaying ${results.length} results</p>`);
Expand Down

0 comments on commit e9a3993

Please sign in to comment.