Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External filter does not work correctly if the value is not present in the table #825

Open
nicolabassan-centropaghe opened this issue Oct 21, 2021 · 0 comments
Labels

Comments

@nicolabassan-centropaghe

Describe the bug
I use an external filter for my table. I filter for a value that is not present in table. The filtered table returns all rows instead of no rows.

Reproduction steps:

  1. Open official page of examples: https://www.tablefilter.com/dynamic-external-filters.html
  2. Use the button F12 to edit the page
  3. Add new Year value in External Filter (be sure that this value are not present in table: ie 2020)
  4. Try to filter for this value

Expected behavior
I expect that since there are no matches then
1 - no rows are extracted
2 - the filter remains active

Observed behavior:
All rows of the table are shown as if no filter was set. The filter remains not active.

TableFilter version: [latest]
Browser and version: [Firefox 93.0] [Google Chrome 94.0.4606.81]
OS and version: [Win 10]

  • Problem started happening recently, didn't happen in an older version of TableFilter: No
  • Problem can be reliably reproduced, doesn't happen randomly: Yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant