refine
refine copied to clipboard
[BUG] Nested CrudFilters values with Supabase not correctly parsed
Describe the bug
Filter values on nested queries with contains, containss, startswith and endswith filters are not parsed to the respective format with the Supabase dataProvider.
Steps To Reproduce
Consider the following filter:
const filter: CrudFilter = {
operator: 'or',
value: [
{
field: 'name',
operator: 'contains',
value: 'foo',
}
],
};
resolve to (name.ilike.foo) giving no results
Expected behavior
The filter should resolve to (name.ilike.%foo%)
Packages
- @refinedev/supabase
Additional Context
No response
Thank you for reporting @pkarc, we'll review the PR as soon as we can 🚀
hey can I solve this PR i am interested in it