From dae8989595efc14c84f1338ff40a3f3526580b7e Mon Sep 17 00:00:00 2001 From: robyngit Date: Tue, 17 Dec 2024 16:22:14 -0500 Subject: [PATCH] Serialize shortname in EML211 Added shortname to the array of basic text elements Fixes #2536 --- src/js/models/metadata/eml211/EML211.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/models/metadata/eml211/EML211.js b/src/js/models/metadata/eml211/EML211.js index 65c2a69ff..6c0210c24 100644 --- a/src/js/models/metadata/eml211/EML211.js +++ b/src/js/models/metadata/eml211/EML211.js @@ -775,8 +775,8 @@ define([ var nodeNameMap = this.nodeNameMap(); - //Serialize the basic text fields - var basicText = ["alternateIdentifier", "title"]; + // Serialize the basic text fields + const basicText = ["alternateIdentifier", "title", "shortName"]; _.each( basicText, function (fieldName) {