Skip to content

filterBy doesn't have a strict mode #163

@twlatl

Description

@twlatl

When using filterBy, I've noticed that it doesn't have a strict mode.

For example:

Say I have a select list that I'm using to filter my data by. And I have 2 items in there:

Hodgkin Lymphoma
Non-Hodgkin Lymphoma

If I select 'Hodgkin Lymphoma', I get hits containing 'Non-Hodgkin Lymphoma', because it contains 'Hodgkin Lymphoma' in the string match. There should be a mode or modifier that will require the match to be strict, and only match the strings when they are exact matches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions