Skip to content
Snippets Groups Projects
Commit a41b661a authored by Robert Lange's avatar Robert Lange Committed by Mathias Maaß
Browse files

refs #21021 [finc] ignore 773 rows with first indicator equals 1 for HierarchyParentTitle

parent 516afc7f
No related merge requests found
...@@ -1749,6 +1749,11 @@ trait SolrMarcFincTrait ...@@ -1749,6 +1749,11 @@ trait SolrMarcFincTrait
} else { } else {
// build the titles differently if LDR 7 == (a || s) // build the titles differently if LDR 7 == (a || s)
foreach ($fields as $field) { foreach ($fields as $field) {
if ($field->getIndicator(1) == 1
) {
// #21021 ignore 773 https://www.loc.gov/marc/bibliographic/concise/bd773.html#
continue;
}
$parentTitle[] = $parentTitle[] =
($field->getSubfield('a') ? $field->getSubfield('a')->getData() : '') . ($field->getSubfield('a') ? $field->getSubfield('a')->getData() : '') .
($field->getSubfield('t') ? ': ' . $field->getSubfield('t')->getData() : '') . ($field->getSubfield('t') ? ': ' . $field->getSubfield('t')->getData() : '') .
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment