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

Donor transfer table sort not working correctly #698

Open
HaSistrunk opened this issue Dec 19, 2024 · 0 comments
Open

Donor transfer table sort not working correctly #698

HaSistrunk opened this issue Dec 19, 2024 · 0 comments
Assignees
Labels

Comments

@HaSistrunk
Copy link
Member

HaSistrunk commented Dec 19, 2024

Describe the bug

For donors, the "All Transfers" Datatable is not sorting columns correctly for table column indices 4-7. 0-3 are working as expected. The table sorts correctly for archivist users.

To reproduce

Steps to reproduce the behavior:

  1. Login to a donor user account
  2. Go to /transfers
  3. Click on the sorting column function for the last column (transfer time)
  4. Notice that the dates do not sort correctly

Expected behavior

Columns would sort asc-desc or desc-asc in correct order.

Impact on your work

A donor organization user brought this to our attention as a barrier to quickly seeing what was most recently transferred as they prepare for a large volume of new transfers. They can work around the issue with the Download CSV option or looking at the recent transfers on the Dashboard, but these are not ideal. They are hoping to start transferring in January 2025.

Additional context

Because the sort works correctly for archivist users and the columns that don't work for donors are indices 4-7, this is likely du to the archivist users' table including an "organizations" column that the donor table doesn't have.

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

No branches or pull requests

1 participant