-
Notifications
You must be signed in to change notification settings - Fork 2
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
Sorting by Record date in search results #78
Comments
Still an issue. |
This can be achieved by adding It will result in all date field searches putting the null values at the end.
Since we discourage deep paging this should not be an issue. Need other opinions and to see what it does to charts and facet sorting. |
Facets are unchanged. Charting is unchanged because ranges are used when not based on facets. |
See commit gbif/pipelines@72767b1. It might be a long time before this makes it into production. |
Thanks for looking into this @adam-collins. |
pull request gbif/pipelines#1035 |
Sorting search results by Record date gives very confusing results. It appears that records with an incomplete or no event date have been given a Record date of 0, so, when sorting on it, records with an incomplete or missing even date end up between the records from before 1 Jan. 1970 and those from after 1 Jan. 1970, instead of at the end or beginning.
See, for example, http:https://avh.ala.org.au/occurrences/search?fq=&pageSize=400&sort=occurrence_date&taxa=Cenchrus%20purpurascens.
The text was updated successfully, but these errors were encountered: