Skip to content

Commit

Permalink
Use code value for identifier rather than name of standard
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Apr 16, 2016
1 parent 23276f9 commit 4d2f5b6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -150,7 +150,7 @@ function extractMetadataFromDataObject($publicationFormat) {
// Identifier: others
$identificationCodeFactory = $publicationFormat->getIdentificationCodes();
while ($identificationCode = $identificationCodeFactory->next()) {
$dc11Description->addStatement('dc:identifier', $identificationCode->getNameForONIXCode());
$dc11Description->addStatement('dc:identifier', $identificationCode->getValue());
}

// Source (press title and pages)
Expand Down

0 comments on commit 4d2f5b6

Please sign in to comment.