-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[DataGridPro] Fix filtering with inactive items #5993
Conversation
4389448
to
c26c4c9
Compare
These are the results for the performance tests:
|
@@ -75,6 +75,53 @@ describe('<DataGridPro /> - Filter', () => { | |||
expect(getColumnValues(0)).to.deep.equal(['Adidas', 'Puma']); | |||
}); | |||
|
|||
it('should not apply items that are incomplet with AND operator', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it('should not apply items that are incomplet with AND operator', () => { | |
it('should not apply items that are incomplete with AND operator', () => { |
expect(getColumnValues(0)).to.deep.equal(['Adidas', 'Puma']); | ||
}); | ||
|
||
it('should not apply items that are incomplet with OR operator', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it('should not apply items that are incomplet with OR operator', () => { | |
it('should not apply items that are incomplete with OR operator', () => { |
render( | ||
<TestCase | ||
filterModel={{ | ||
items: [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
items: [ | |
linkOperator: GridLinkOperator.And, | |
items: [ |
To not rely on default link operator
Fix #5989