fuzzysort
fuzzysort copied to clipboard
using {all: true} in the options won't find objects with empty string as key property
In the following example an object const o = {title: ""}
in objects
won't be included in the results.
return fuzzysort.go(search, objects, {
key: "title",
limit: 100,
threshold: -10000,
all: true
})
I'd expect it to be included because all means all.