Skip to content

Commit

Permalink
Harvesting / CSW / Fix saving of all types of parameters
Browse files Browse the repository at this point in the history
introduced in geonetwork#4247
  • Loading branch information
fxprunayre authored and pmauduit committed Sep 29, 2020
1 parent ce69e06 commit 88f85b3
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -63,8 +63,10 @@ var gnHarvestercsw = {
// happen and then search criteria name which is the tag name
// will be lost.
// if (value) {
body += '<' + tag + '>' + (isNaN(value) || value === null ? '' : value) + '</' + tag + '>';
// }

body += '<' + tag + '>' +
((tag.indexOf('bbox-') === 0 && isNaN(value)) || value === null ? '' : value) +
'</' + tag + '>'; // }
}
}
}
Expand Down

0 comments on commit 88f85b3

Please sign in to comment.