krisk / Fuse

Lightweight fuzzy-search, in JavaScript
https://fusejs.io/
Apache License 2.0
17.79k stars 756 forks source link

Inverse extended search doesn't work on array values #582

Closed ChadBurggraf closed 2 years ago

ChadBurggraf commented 2 years ago

Describe the bug

When searching a list of objects using extended search, attempting to exclude a term that is only contained in array properties doesn't actually exclude anything.

Version

6.4.6

Is this a regression?

I'm not sure.

🔬Minimal Reproduction

I would expect this search to exclude the first two items (Old Man's War and The Lock Artist), because they both have "Bananas" in their array of fruits:

https://codesandbox.io/s/distracted-fast-14316?file=/src/index.js

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days