Something wonky with sort order of "most recent"
|Assignee:||José Raddaoui Marín||% Done:|
|Category:||Search / Browse|
|Target version:||Release 2.0.0|
|Google Code Legacy ID:||Tested version:|
There seems to be something wrong with the sort order on browse screens when the sort order is set to most recent.
There doesn't seem to be any correlation between this order and the order on the description updates page, and new/updated descriptions disappear into the void (though you can find them in unexpected spots when filtering to a repository with a workable number of descriptions, so they are apparently still on the list).
Here's a more systematic way to try to reproduce this.
- create a new repository, e.g. Test Repository
- create 11 descriptions, with title and repository (Test Repository), using titles like:
etc. but in any case so that the order of entry is obvious
(Note: you could do fewer than 11 entries if you're able to look up the repository id from the backend, and therefore figure out the URL for the filtered description browse)
- navigate to the new repository page, then follow the link to "browse 11 holdings"
- make sure "most recent" is the sort order
- in my case, the order (top to bottom) was:
- but Browse Newest Additions was correct (11 to 1)
#2 Updated by Dan Gillean about 7 years ago
- Category set to Search / Browse
- Assignee set to Jesús García Crespo
- Target version set to Release 2.0.0
#6 Updated by Dan Gillean about 7 years ago
- Status changed from In progress to Verified
Any remaining issues with the sort have to do with the default alphabetic sorting in ElasticSearch - i.e., how accented letters are handled, how quotations are handled etc. Will open a new issue to consider revising ElasticSearch's defaults in another issue as this can be improved to better match user expectations for a "natural sort" order - but marking this verified, as the sort order now works.
Any record recently edited and saved will now show up at the top of the "Most recent" sort order. Users can change to alphabetic sort and back.