Filter Match All vs Match Any not working twice #9836
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Plunkr Case (Bug Reports)
Demo is here: https://www.primefaces.org/primeng/showcase/#/table/filter
You can try it with sample table in official demo page.
Current behavior
Match Any filter is not saved in numeric filtering columns.
Expected behavior
Match Any should be saved.
Minimal reproduction of the problem with instructions
1.1 Match All
1.2 Greater than equal to 50,000$
1.3 Less than equal to 60,000$
There are 200 entries in the table before filter. After filter 16 entries exist.
If you changed Match All to Match Any, there are 200 entries. No problem, it is correct because all values either greater than 50k or less than 60k.
But if you click again the filter, in the first dropdown menu Match All selected is shown. But we selected Match Any. In addition if I changed that dropdown, filter doesn't run. You should reload the page to filter again that column.
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Version 88.0.4324.104 (Official Build) (64-bit) at Windows 10.
Angular version: 11
PrimeNG version: 11.2.0
Version 88.0.4324.104 (Official Build) (64-bit)
Firefox 84.0.1 (64-bit) at windows 10
The text was updated successfully, but these errors were encountered: