refine
refine copied to clipboard
[BUG] useTable does not pass the params Ids to the live provider.
Describe the bug
I have a live provider similar to this one https://github.com/refinedev/refine/blob/main/packages/ably/src/index.ts
Now for example I am on page 5 of table and there is an update on page 1, i.e. The ID is not there on current page, it still refetches the page.
I logged the params?.ids and it is always undefined for useTable hook.
Steps To Reproduce
- add a useTable hook with server side pagination and live provider similar to this one setup https://github.com/refinedev/refine/blob/main/packages/ably/src/index.ts
- now trigger an update on another page, while currently viewing a different page.
Expected behavior
Expected behaviour would be that useTable hook passes the params.Ids based on existing data.
Packages
"@refinedev/antd": "5.36.2",
"@refinedev/core": "4.54.0",
"@refinedev/react-router-v6": "4.5.0",
"@refinedev/simple-rest": "^5.0.8",
Additional Context
No response