Skip to content

Commit

Permalink
Updated ISBN MARC 336 $a value
Browse files Browse the repository at this point in the history
MARC subfield 336 $a starts with a lower case letter. #46
  • Loading branch information
petkivim committed Nov 19, 2016
1 parent 8d6d870 commit f86bfce
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -309,13 +309,13 @@ private static function addField336($record, $publication) {
$datafield = new DataField('336', ' ', ' ');

if (self::isMusic($publication->publication_type)) {
$datafield->addSubfield(new Subfield('a', 'Nuottikirjoitus'));
$datafield->addSubfield(new Subfield('a', 'nuottikirjoitus'));
$datafield->addSubfield(new Subfield('b', 'ntm'));
} else if (self::isMap($publication->publication_type)) {
$datafield->addSubfield(new Subfield('a', 'Kartografinen kuva'));
$datafield->addSubfield(new Subfield('a', 'kartografinen kuva'));
$datafield->addSubfield(new Subfield('b', 'cri'));
} else {
$datafield->addSubfield(new Subfield('a', 'Teksti'));
$datafield->addSubfield(new Subfield('a', 'teksti'));
$datafield->addSubfield(new Subfield('b', 'txt'));
}
$datafield->addSubfield(new Subfield('2', 'rdacontent'));
Expand Down

0 comments on commit f86bfce

Please sign in to comment.