diff --git a/core/src/main/java/org/fao/geonet/kernel/search/EsSearchManager.java b/core/src/main/java/org/fao/geonet/kernel/search/EsSearchManager.java index 51085ff819e..e3a321c4748 100644 --- a/core/src/main/java/org/fao/geonet/kernel/search/EsSearchManager.java +++ b/core/src/main/java/org/fao/geonet/kernel/search/EsSearchManager.java @@ -528,6 +528,7 @@ private void checkIndexResponse(BulkResponse bulkItemResponses, .add("format") .add("contact") .add("contactForResource") + .add("contactForDistribution") .add("OrgForResource") .add("resourceProviderOrgForResource") .add("resourceVerticalRange") diff --git a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl index 136ec9fcc3f..28d78f88c86 100644 --- a/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl +++ b/schemas/iso19115-3.2018/src/main/plugin/iso19115-3.2018/index-fields/index.xsl @@ -1045,7 +1045,7 @@ - @@ -1082,6 +1082,14 @@ + + + + + + + + + + + + + + diff --git a/web-ui/src/main/resources/catalog/components/catalog/CatalogService.js b/web-ui/src/main/resources/catalog/components/catalog/CatalogService.js index 7c003403ef7..79e5ff760a7 100644 --- a/web-ui/src/main/resources/catalog/components/catalog/CatalogService.js +++ b/web-ui/src/main/resources/catalog/components/catalog/CatalogService.js @@ -724,7 +724,7 @@ * Return an object containing metadata contacts * as an array and resource contacts as array * - * @return {{metadata: Array, resource: Array}} + * @return {{metadata: Array, resource: Array, distribution: Array}} */ getAllContacts: function() { this.allContacts = {metadata:[], resource:[]}; @@ -734,6 +734,9 @@ if (this.contactForResource && this.contactForResource.length > 0){ this.allContacts.resource = this.contactForResource; } + if (this.contactForDistribution && this.contactForDistribution.length > 0){ + this.allContacts.distribution = this.contactForDistribution; + } return this.allContacts; }, getOwnername: function() {