Date of Collection facet sort order chronologically
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 564
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 29
Description
What steps does it take to reproduce the issue?
Set facetable=TRUE for the fields dateOfCollectionStart and dateOfCollectionEnd in metadatablock citation.tsv.
Date/Year facet should be sorted chronologically be default, sorting chronologically is activated https://guides.dataverse.org/en/latest/installation/config.html#chronologicaldatefacets , but sorting order is by numbers.
What happens?
The dateOfCollectionStart & dateOfCollectionEnd facets are not sorted chronologically, also timePeriodCoveredStart & timePeriodCoveredEnd facets.
The “Publication Year” and „Deposit Date“sort order is correct.
What did you expect to happen?
Sort order should work chronologically.
Which version of Dataverse are you [using?]
v6.2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the facetable date fields in the metadatablock citation.tsv configuration and the chronologicaldatefacets setting in the installation configuration. Compare their facet behavior with the correctly sorted “Publication Year” and “Deposit Date” facets. Done means dateOfCollectionStart, dateOfCollectionEnd, timePeriodCoveredStart, and timePeriodCoveredEnd facets sort chronologically rather than numerically.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- search
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100