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

Dataset File Listing: Sort Order for Newest/Oldest is backwards #10742

Closed
shlake opened this issue Aug 5, 2024 · 0 comments · Fixed by #11000
Closed

Dataset File Listing: Sort Order for Newest/Oldest is backwards #10742

shlake opened this issue Aug 5, 2024 · 0 comments · Fixed by #11000
Labels
FY25 Sprint 9 FY25 Sprint 9 (2024-10-23 - 2024-11-06) Size: 0.5 A percentage of a sprint. 0.35 hours Type: Bug a defect
Milestone

Comments

@shlake
Copy link
Contributor

shlake commented Aug 5, 2024

What steps does it take to reproduce the issue?
On a dataset file listing, click "Sort -> Newest"
The resulting order is oldest first.

On a dataset file listing, click "Sort -> Oldest"
the resulting order is newest first.

  • When does this issue occur?
    On the Dataset file listing section

  • To whom does it occur (all users, curators, superusers)?
    All Users

  • What did you expect to happen?
    Newest should be sorted "descending" (desc), but Oldest is sorted that way

Which version of Dataverse are you using?
V6.2

Happens on my local V6.2 dataverse instance as well as on Harvard's (V6.2):
Example, This dataset: https://doi.org/10.7910/DVN/KFVIIH

This is the URL that is displayed when "Oldest" sort is selected - notice "fileSortOrder=desc"

https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/KFVIIH&version=&q=&fileTypeGroupFacet=&fileAccess=&fileSortField=date&fileSortOrder=desc&tagPresort=false

@shlake shlake added the Type: Bug a defect label Aug 5, 2024
@sbarbosadataverse sbarbosadataverse added the Size: 3 A percentage of a sprint. 2.1 hours. label Aug 21, 2024
@sbarbosadataverse sbarbosadataverse moved this to SPRINT READY in IQSS Dataverse Project Aug 21, 2024
@sbarbosadataverse sbarbosadataverse added Size: 0.5 A percentage of a sprint. 0.35 hours and removed Size: 3 A percentage of a sprint. 2.1 hours. labels Aug 21, 2024
@stevenwinship stevenwinship self-assigned this Nov 4, 2024
@stevenwinship stevenwinship moved this from SPRINT READY to In Progress 💻 in IQSS Dataverse Project Nov 4, 2024
@cmbz cmbz added the FY25 Sprint 9 FY25 Sprint 9 (2024-10-23 - 2024-11-06) label Nov 4, 2024
@stevenwinship stevenwinship removed their assignment Nov 4, 2024
@pdurbin pdurbin added this to the 6.5 milestone Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FY25 Sprint 9 FY25 Sprint 9 (2024-10-23 - 2024-11-06) Size: 0.5 A percentage of a sprint. 0.35 hours Type: Bug a defect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants