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 by byte count #2391

Conversation

futa-ikeda
Copy link
Contributor

@futa-ikeda futa-ikeda commented Nov 13, 2024

  • Ticket: []
  • Feature flag: n/a

Purpose

  • Allow users to sort by total storage on project and registration tabs

Summary of Changes

  • Add new optional sortParam to sortable integer columns

Screenshot(s)

image

Side Effects

QA Notes

Comment on lines +52 to +53
// sort can look like `sort=dateFieldName` or `sort[integer-value]=fieldName` if sortParam is provided
sort: this.sortParam ? { [this.sortParam]: this.sort } : this.sort,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, that's weird.

@futa-ikeda futa-ikeda merged commit 54ebbf1 into CenterForOpenScience:feature/insti-dash-improv Nov 14, 2024
9 checks passed
@futa-ikeda futa-ikeda deleted the sort-by-byte-count branch November 14, 2024 19:49
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.

2 participants