Skip to content

Commit

Permalink
fix: set score completion item when skipfilter true (#5749)
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Koreman <[email protected]>
  • Loading branch information
akoreman and Alice Koreman authored Feb 19, 2025
1 parent fbe3ddc commit a27e1e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,7 @@ class FilteredList {
var lower = needle.toLowerCase();
loop: for (var i = 0, item; item = items[i]; i++) {
if (item.skipFilter) {
item.$score = item.score;
results.push(item);
continue;
}
Expand Down

0 comments on commit a27e1e8

Please sign in to comment.