Remove the old "date" facet - which just pointed to the date_created field
Add new "Years" facets, configured to use "field_years" data
Update relevant tests that were using old date facet
Other facet config changes were auto-generated by Drupal
I'm not sure if this change would need data to be re-indexed when applied to an instance with a lot of data. Local testing with a small amount of data had these changes applied pretty seamlessly, needing only a Drupal cache clear.
Addresses https://github.com/jhu-idc/iDC-general/issues/413
I'm not sure if this change would need data to be re-indexed when applied to an instance with a lot of data. Local testing with a small amount of data had these changes applied pretty seamlessly, needing only a Drupal cache clear.