MudDataGrid: Do not add duplicate filters#7594
Conversation
|
Can you add a test case that fails without the fix and passes with it, please? This will make sure your fix will never unintentionally be corrupted by future PRs. |
|
@0xced This is an important bug fix PR, you are already 90% of the way. If you can complete, we'd appreciate it! |
|
@henon actually, now when I think about it, if you add this to the |
|
Another reason not to call
I'll try but I may not have time to do it soon. So if anyone else want to add a test, please go ahead. |
1203631 to
89cad19
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## dev #7594 +/- ##
=======================================
Coverage 88.22% 88.22%
=======================================
Files 394 394
Lines 11755 11764 +9
Branches 2381 2385 +4
=======================================
+ Hits 10371 10379 +8
Misses 857 857
- Partials 527 528 +1 ☔ View full report in Codecov by Sentry. |
89cad19 to
a4d19f0
Compare
|
@0xced only a missing test case prevents this PR from being released. |
a4d19f0 to
b016019
Compare
b016019 to
4794e08
Compare
|
I just added a test case in 4edbad8 so this should be ready to merge. |
|
Thanks a lot @0xced ! |
* DataGrid: Do not add duplicate filters Fixes MudBlazor#6759 * Add test case ensuring no duplicate filters are added

Fixes #6759
Before the fix: clicking three times on the same filter adds three identical filter rows
