You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using v1.5.0 and have a question about the date_modified property. It's defined as a single valued property with the DC.modified predicate and indexed as a :date, but we're always getting nil from using the date_modified method in the SolrDocumentBehavior.
Expected behavior
date_modified should use the SolrDocument field date_modified_dtsi.
Actual behavior
date_modified use the SolrDocument field date_modified_ssi.
Descriptive summary
We're using v1.5.0 and have a question about the
date_modified
property. It's defined as a single valued property with theDC.modified
predicate and indexed as a:date
, but we're always gettingnil
from using thedate_modified
method in the SolrDocumentBehavior.Expected behavior
date_modified
should use the SolrDocument fielddate_modified_dtsi
.Actual behavior
date_modified
use the SolrDocument fielddate_modified_ssi
.See https://github.com/projecthydra/curation_concerns/blob/master/app/models/concerns/curation_concerns/required_metadata.rb#L24 for where the property is defined.
See https://github.com/projecthydra/curation_concerns/blob/master/app/presenters/curation_concerns/work_show_presenter.rb#L39 for where the presenter delegates to the SolrDocument.
See https://github.com/projecthydra/curation_concerns/blob/master/app/models/concerns/curation_concerns/solr_document_behavior.rb#L77 for where the SolrDocument gets the
date_modified
method.Steps to reproduce the behavior
Related work
N/A
cc @eliotjordan
The text was updated successfully, but these errors were encountered: