Skip to content
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

fix: bug in sort subRows data and add test in useSortBy #2633

Merged
merged 5 commits into from Oct 5, 2020
Merged

fix: bug in sort subRows data and add test in useSortBy #2633

merged 5 commits into from Oct 5, 2020

Conversation

ghost
Copy link

@ghost ghost commented Aug 13, 2020

Same as #2541
Because this pull request #2443 changed nested subRows sort when subRows data length is one
This time add test case in useSortBy.test.js

leyinetwork and others added 3 commits July 16, 2020 15:40
Fix sort subRows stop recursion when subRows length is one.
If row.subRows length is one, the subRows of row.subRows[0] will not sort in recursion
@vercel
Copy link

vercel bot commented Aug 13, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tannerlinsley/react-table/riqz8l3w2
✅ Preview: https://react-table-git-ee39a2e1fb03bb2e1481bc3d5a5b8034651d364e.tannerlinsley.vercel.app

@ghost ghost changed the title fix: bug in sortData subRows and add test in useSortBy fix: bug in sort subRows data and add test in useSortBy Aug 13, 2020
@ghost
Copy link
Author

ghost commented Aug 18, 2020

@tannerlinsley Can you take a look?

@tannerlinsley
Copy link
Collaborator

🎉 This PR is included in version 7.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants