CrudFilters
In refine core version 3.50 , the conditional filter type takes only logical filter as a value. But in version 3.18, the conditional filter can take a logical filter or another conditional filter as a value. Also the 'and' operator is missing from 3.50 .
I am using 3.50 so not able to chain filters.
Example:-
{
operator: 'or', value:[
{operator: 'and',
value:[{field:'', operator:'', value:''}]}
]
}
1 Reply
exotic-emerald•3y ago
Hi @shubham.srv Your version is very old. There is probably a bug in those versions.
can you update to
latest
version and try again ?
a month ago we revisit those filter logics. after you update probably it will work.
https://github.com/refinedev/refine/releases/tag/%40pankod%2Frefine-core%403.86.0
if your problem persist, please don't hesitate to reach us 🙏