-
Notifications
You must be signed in to change notification settings - Fork 27
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
Is it compatible with react-admin 5.1.0 and @dataui/crud? #51
Comments
I made my own edit/solution (not sure if it is stable yet)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using react-admin 5.1.0, @dataui/crud 5.3.4, @dataui/crud-typeorm 5.3.4
but the problem is the sorting and filters doesn't seem to work
what i noticed is the sent syntax is:
http://localhost:4000/api/admin/developers?&filter%5B0%5D=s%7C%7C%24contL%7C%7Csomename&filter%5B1%5D=name%7C%7C%24contL%7C%7Cas&limit=10&page=1&sort%5B0%5D=id%2CDESC&offset=0
decoded:
http://localhost:4000/api/admin/developers?&filter[0]=s||$contL||somename&filter[1]=name||$contL||as&limit=10&page=1&sort[0]=id,DESC&offset=0
this is swagger documentation of the GET request (using @dataui/crud):
if there is a fix/solution to this problem or mention any other package that suits this docs I would be grateful.
The text was updated successfully, but these errors were encountered: