"Document" in Document View
Closed this issue · 6 comments
The info that is being pulled for "Document" category in the Document View has changed somehow. It should be pulling from the <title>
in the <bibl>
tag, but instead it is pulling from the one in the titleStmt
. I am not sure when this change happened, but I am pretty sure at one point it was correct.
I am scared of making this change because I suspect it needs to be changed in multiple places, like in caseRelatedDocumentData fields, etc, so I would be more comfortable with @karindalziel looking at this
OK, to fix this, what I'll need to do:
Add a new field, something like source_title
populate this field with something like
/TEI/teiHeader[/fileDesc[1]/sourceDesc[1]/bibl[1]/title[@type='main']
And then use that field to populate the following:
from page http://rosie.unl.edu/earlywashingtondc/doc/oscys.case.0081.003
@kacinash does the above xpath look correct?
Waiting on getting maiden name in, as I'm afraid of conflicts if we try to add multiple fields at once
@karindalziel Yes, that path looks right.
@kacinash take a look at these titles: view-source:http://rosie.unl.edu:8983/solr/api_oscys/select?q=*%3A*&rows=0&wt=xml&indent=true&facet=true&facet.field=sourceTitle_s&facet.limit=-1&facet.sort=index&facet.mincount=1
I'll in the meantime change rosie to pull from that field.
@karindalziel is this done?
Closing this until somebody tells me that it's still a problem, appears to be resolved