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

Sort tables alphabetically #241

Merged
merged 6 commits into from
Sep 25, 2023
Merged

Sort tables alphabetically #241

merged 6 commits into from
Sep 25, 2023

Conversation

amstilp
Copy link
Contributor

@amstilp amstilp commented Sep 25, 2023

  • Add default order_by to the tables in the primed_anvil, dbgap, and cdsa apps.

This makes it easier for users to find what they're looking for, compared to when tables were just sorted by pk.

Closes #227

Instead of ordering by pk - this makes more sense for users.

Closes #227
Add sensible default orderings to the tables in the dbgap app. This
way it is easier for users to find information because tables are not
ordered by pk.
The test for rendering number_approved_dars for the dbGaPDataAccessSnapshot
table started failing when we changed the ordering of the table.
Change the test so is it more robust to that change by testing the
render function directly instead of pulling the value out of the
table rows and assuming an ordering. Also add a test for the number
of requested dars.
@amstilp amstilp merged commit f0a1a2f into main Sep 25, 2023
5 checks passed
@amstilp amstilp deleted the feature/table-sort-alphabetically branch February 6, 2024 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sort studies by name in Study List
1 participant