ra-data-nestjsx-crud icon indicating copy to clipboard operation
ra-data-nestjsx-crud copied to clipboard

Is it compatible with react-admin 5.1.0 and @dataui/crud?

Open IbrahemHadidy opened this issue 7 months ago • 1 comments

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): image

if there is a fix/solution to this problem or mention any other package that suits this docs I would be grateful.

IbrahemHadidy avatar Jul 27 '24 15:07 IbrahemHadidy