1
0
Fork 0

including related organization url in the XML record serialization (ticket #9498)

This commit is contained in:
Claudio Atzori 2024-03-13 14:46:00 +01:00
parent db66555ebb
commit eb5887cb9a
1 changed files with 3 additions and 0 deletions

View File

@ -1133,6 +1133,9 @@ public class XmlRecordFactory implements Serializable {
if (re.getCountry() != null && !re.getCountry().isBlank()) {
metadata.add(XmlSerializationUtils.mapQualifier("country", re.getCountry()));
}
if (StringUtils.isNotBlank(re.getWebsiteurl())) {
metadata.add(XmlSerializationUtils.asXmlElement("websiteurl", re.getWebsiteurl()));
}
break;
case project:
if (isNotBlank(re.getProjectTitle())) {