Commit 287e66d8 authored by Joerg-Holger Panzer's avatar Joerg-Holger Panzer
Browse files

Update purl value

to be consistent with the old schema and hold the purl's persistent, use the record-identifier with 'PPN' for the PURL
parent 0909fc99
Pipeline #302321 passed with stages
in 7 minutes and 34 seconds
......@@ -1747,7 +1747,8 @@ func getESLogFromDiv(
esLog.Purl = fmt.Sprintf(config.PurlURI, dmdsec.RecordInfo.Recordidentifier.Value)
} else {
if isFirst {
esLog.Purl = fmt.Sprintf(config.PurlURI, workID)
//esLog.Purl = fmt.Sprintf(config.PurlURI, workID)
esLog.Purl = fmt.Sprintf(config.PurlURI, esLog.RecordIdentifier)
} else {
esLog.Purl = fmt.Sprintf(config.PurlURI, esLog.ID)
}
......
Markdown is supported
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