-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Doc] Add section about filters in List documentation #4675
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
docs/List.md
Outdated
); | ||
``` | ||
|
||
In the example given above, the `q` filter triggers a full-text search on all fields. It's your responsibility to implement the full-text filtering capabilities in your API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would probably be nice to explain the q
filter can be handled/converted in the dataProvider as well
docs/List.md
Outdated
); | ||
``` | ||
|
||
Normally, `showFilter()` enables one filter, but we'll use here to show the entire form. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird sentence
Co-Authored-By: Gildas Garcia <[email protected]>
Co-Authored-By: Gildas Garcia <[email protected]>
Co-Authored-By: Gildas Garcia <[email protected]>
The "Filter" keyword is the most searched in the react-admin documentation, according to our search engine analytics.
We can probably provide more details about the filtering capabilities of the List component. It's the purpose of this new section.