-
Notifications
You must be signed in to change notification settings - Fork 41
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
Add support for BC years #18
Comments
Should be possible, assuming you can figure out how to make Solr deal with it. I guess they'd be indexed in Solr as actual negative years, like you say, since the func is currently based on a Solr numeric (not date) field (and thus theoretically avail for non-date numeric data too). Would you want to display them as "BC", or as actual negative years too? It should probably be possible to display them as "BC" on the flot chart, using flot custom formatting options. Not sure about the slider. As a first pass, if you actually want to display them as negative numbers -- I'm not sure what would keep it from just working, actually. Try indexing negative numbers into your Solr field, I wonder if it'll just plain work. If not, I suspect there will only be minor tweaks needed to make it work. |
(See also #17) |
See also #34 for date support overall. |
I've just hit the BC date problem for a couple of collections. Has anyone got any work in progress on this? |
Support negative numbers; fixes #18
We have a few collections that have negative year values (Papyrus Manuscripts) that don't show up properly in the date slider. We currently remove negative years from the facet that drives the date facet, however we get reports from confused users from time to time.
I am creating this ticket as a place to discuss the feasibility of adding this support to blacklight_range_limit.
The text was updated successfully, but these errors were encountered: