fix: More accurate workflow and archived item search (#2363)
Sorts workflow and items search results by match score.
This commit is contained in:
parent
18e72262dd
commit
8cfa28733a
@ -56,7 +56,6 @@ export class SearchCombobox<T> extends LitElement {
|
|||||||
|
|
||||||
private fuse = new Fuse<T>([], {
|
private fuse = new Fuse<T>([], {
|
||||||
keys: [],
|
keys: [],
|
||||||
shouldSort: false,
|
|
||||||
threshold: 0.2, // stricter; default is 0.6
|
threshold: 0.2, // stricter; default is 0.6
|
||||||
includeMatches: true,
|
includeMatches: true,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user