fuzzysort icon indicating copy to clipboard operation
fuzzysort copied to clipboard

using {all: true} in the options won't find objects with empty string as key property

Open felixniemeyer opened this issue 2 years ago • 0 comments

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.

felixniemeyer avatar Jul 25 '22 10:07 felixniemeyer