-
-
Notifications
You must be signed in to change notification settings - Fork 48
Description
π Description & Context
Filter on Entities page returns inaccurate results.
π Expected Behavior
Basically, when I filter by substring I expect matches to be always returned that contain this substring. See reproduction steps to understand it better.
π₯Ύ Reproduction steps
I'll give two examples to illustrate how you can reproduce it. I'm sure there are more cases.
The words I used are color-coded with colored bars. White bars mean any set of characters that is none of the words I'm searching by.
Example 1
There's an entity in the list of entities that looks like Red[space]Yellow
Step 1
Search by: Red.
Expectation: all entities containing Red (there are more than one), including Red[space]Yellow.
Result: no matches - inaccurate .
Step 2
Search by: Yellow.
Expectation: Red[space]Yellow - there's only on entity containing Yellow.
Result: no matches - inaccurate .
Step 3
Search by: Red[space]Yellow.
Expectation: Red[space]Yellow.
Result: Red[space]Yellow - accurate .
Example 2
There's an entity in the list of entities that looks like BlueGreen
Step 1
Search by: Blue.
Expectation: all entities containing Blue (there are more than one), including BlueGreen.
Result: an entity that contains neither - possibly accurate if it also searches by description? But the way it works now, looks inaccurate.
Note: usually this search returns what you see in Step 2. I'm not sure what I did to make it return only exactly one match instead of several.
Step 2
Search by: Blue.
Expectation: all entities containing Blue (there are more than one), including BlueGreen.
Result: a list of entities that contains Blue and some that contain neither, but BlueGreen is not there - inaccurate.
Step 3
Search by: Green.
Expectation: all entities containing Green, including BlueGreen.
Result: a list of entities that contains Green, including BlueGreen twice - accurate.
Step 4
Search by: Green.
Expectation: BlueGreen twice.
Result: BlueGreen twice - accurate.
Are you willing to submit PR?
No, I don't have time to work on this right now