Skip to content

Commit a27e1e8

Browse files
akoremanAlice Koreman
and
Alice Koreman
authored
fix: set score completion item when skipfilter true (#5749)
Co-authored-by: Alice Koreman <[email protected]>
1 parent fbe3ddc commit a27e1e8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/autocomplete.js

+1
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,7 @@ class FilteredList {
10571057
var lower = needle.toLowerCase();
10581058
loop: for (var i = 0, item; item = items[i]; i++) {
10591059
if (item.skipFilter) {
1060+
item.$score = item.score;
10601061
results.push(item);
10611062
continue;
10621063
}

0 commit comments

Comments
 (0)