sul-dlss / happy-heron

Self-Deposit for the Stanford Digital Repository (SDR): H2 is a Rails web application enabling users to deposit scholarly content into SDR
Apache License 2.0
10 stars 2 forks source link

Sorting by modified date in deposits table should be in date order, not alphabetical #3592

Closed amyehodge closed 3 months ago

amyehodge commented 3 months ago

This sorting was not working at all and was recently fixed in https://github.com/sul-dlss/happy-heron/issues/3583. Perhaps that broke work done in https://github.com/sul-dlss/happy-heron/issues/1675 to get this to sort by date instead of alphabetically.

I'm currently seeing alphabetical sort. See https://sdr.stanford.edu/collections/195/works

A-Z for modified date:

Screenshot 2024-08-07 at 9 56 46 AM

Z-A for modified date:

Screenshot 2024-08-07 at 9 57 34 AM