Skip to content

Commit

Permalink
Update docs/StackedFilters.md
Browse files Browse the repository at this point in the history
Co-authored-by: adrien guernier <adrien@marmelab.com>
  • Loading branch information
fzaninotto and adguernier authored Mar 12, 2024
1 parent 6689c96 commit b6b3817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/StackedFilters.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const { data } = useGetList('posts', {
});
```

It's up to you the data provider to convert the `filter` parameter into a query that your API understands.
It's up to your data provider to convert the `filter` parameter into a query that your API understands.

For instance, if your API expects filters as an array of criteria objects (`[{ field, operator, value }]`), `dataProvider.getList()` should convert the `filter` parameter as follows:

Expand Down

0 comments on commit b6b3817

Please sign in to comment.