Skip to content

fix(mui): add support for unique id to transformCrudFiltersToFilterModel#6756

Merged
alicanerdurmaz merged 4 commits into
refinedev:nextfrom
arndom:fix/mui/datagrid-same-multiple-filters
May 5, 2025
Merged

fix(mui): add support for unique id to transformCrudFiltersToFilterModel#6756
alicanerdurmaz merged 4 commits into
refinedev:nextfrom
arndom:fix/mui/datagrid-same-multiple-filters

Conversation

@arndom
Copy link
Copy Markdown
Contributor

@arndom arndom commented Apr 17, 2025

  • fixes issue where later filter values overwrite earlier ones with the same field and operator
  • add test case
  • add changeset

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

What is the current behavior?

When using multiple filters in MUI Datagrid Pro, if they're the same field and operator, the later filter value overwrites the earlier one.

What is the new behavior?

Multiple filter value remain the same even if they are the same field and operator

fixes #6710

Notes for reviewers

arndom added 2 commits April 17, 2025 20:30
…odel` utility fxn

- fixes issue where later filter values overwrite earlier ones with the same field and operator
- add test case
- add changeset
@arndom arndom requested a review from a team as a code owner April 17, 2025 19:38
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 17, 2025

🦋 Changeset detected

Latest commit: 93de1a0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@refinedev/mui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 17, 2025

Deploy Preview for refine-doc-live-previews ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 4145b7a
🔍 Latest deploy log https://app.netlify.com/sites/refine-doc-live-previews/deploys/680158bdcf8627000831f606
😎 Deploy Preview https://deploy-preview-6756--refine-doc-live-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@alicanerdurmaz alicanerdurmaz added this to the April 2025 Release milestone Apr 18, 2025
@alicanerdurmaz alicanerdurmaz changed the base branch from main to next May 2, 2025 09:35
@alicanerdurmaz alicanerdurmaz merged commit 2936688 into refinedev:next May 5, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] useDataGrid with mui GridToolbarFilterButton (premium) does not work well

2 participants