Comments (4)
Hi @BatuhanW, I confirm that the expected filter example I gave above is working properly on Strapi v4
from refine.
Hey @BatuhanW, I have been working on this. I found out that other contributor had not handled the case when the value of conditional filter could be another conditional filter. So the only way I could think of solving was recursively parsing the filters. However I am having trouble with parse and stringify from "qs" library.
My recursive approach yields expected result of @htdangkhoa, but those functions from "qs" seem to add multiple square braces where not needed.
Here is the screenshot of a new test I added in jest that handles the issue that @htdangkhoa had.
from refine.
Hello @htdangkhoa thanks for the report. It could be an issue, can you confirm that expected filter example works with Strapi v4?
We are open to contributions for this one.
from refine.
Hey @vidurkhanal could you try with query-string
import? If you create a PR, we can also continue the discussion there, thanks!
from refine.
Related Issues (20)
- [BUG] finefoods-client Sample is broken HOT 2
- [BUG] useNotificationsProvider mui anchor position hard coded HOT 6
- [BUG] - refine build is failing HOT 13
- [FEAT] Antd | Allow translation for required field messages HOT 2
- [BUG] error when trying to implement multiple top level `conditionalFilter` using useTable from @refinedev/react-table HOT 2
- [FEAT] Support the dynamic meta parameters when submitting HOT 1
- [BUG] MUI useDataGrid setFilters HOT 5
- [FEAT] Passing arbitrary graphql variables to hasura dataProvider HOT 7
- [BUG] appendCurrentPathToQuery on Authenticated HOT 2
- [DOC] Browser view crashes in Tutorial HOT 3
- [FEAT] Unable to highlight non-CRUD page on menu item HOT 4
- [FEAT] Unable to configure non-CRUD pages in i18n configuration file HOT 4
- [BUG] `mutationOptions` are overriding Refine's behavior unexpectedly
- [DOC] Edit for readability and grammar HOT 3
- [BUG] `useFieldArray` options dissapear after routing away and back to edit page HOT 2
- [BUG] MUI Inferencer sets all fields to required HOT 1
- [BUG] Exmaple project cannot view HOT 3
- [BUG] nextjs 14 upgrade breaks imports HOT 4
- [FEAT]: Supabase Data Provider should filter array column by array HOT 7
- [FEAT] Support TypedDocumentNode for GraphQL data-provider HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from refine.