Skip to content
This repository has been archived by the owner on Mar 2, 2022. It is now read-only.

request with defaultSortOrder bug 🐛 #729

Open
proxcentb opened this issue Feb 11, 2021 · 0 comments
Open

request with defaultSortOrder bug 🐛 #729

proxcentb opened this issue Feb 11, 2021 · 0 comments

Comments

@proxcentb
Copy link

🐛 Bug description

Sorting parameter is not included in the request If you fill the table with data using request prop and have defaultSortOrder for some column.

🏞 Expected result

Sorting parameter SHOULD be included in the request initially.

💻 Example

https://codesandbox.io/s/pro-table-forked-d8pms?file=/src/index.tsx
As you can see there is defaultSortOrder: 'ascend' for column, but it does not affect the request.

© Version info

You can check package.json in sandbox.

"@ant-design/pro-table": "2.29.0",
"antd": "4.12.2"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant