From 2089ad1549e4d30964003ea909da921aa3115f96 Mon Sep 17 00:00:00 2001 From: carlo cancellieri Date: Thu, 28 Oct 2021 13:39:48 +0200 Subject: [PATCH 1/2] Lineage is missing on 19139 ISO base implementation #263 Lineage is missing on 19139 ISO base implementation #263 Lineage is missing on 19139 ISO base implementation #263 --- ckanext/spatial/harvesters/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ckanext/spatial/harvesters/base.py b/ckanext/spatial/harvesters/base.py index ccb47cbb..f811b0d2 100644 --- a/ckanext/spatial/harvesters/base.py +++ b/ckanext/spatial/harvesters/base.py @@ -399,6 +399,7 @@ def _extract_first_license_url(licences): }) package_dict['resources'].append(resource) + extras['resources'] = iso_values.get('lineage') # Add default_extras from config default_extras = self.source_config.get('default_extras',{}) From 8bafbd401f7c02932240379515076f65f402ee26 Mon Sep 17 00:00:00 2001 From: carlo cancellieri Date: Thu, 28 Oct 2021 17:39:45 +0200 Subject: [PATCH 2/2] lineage --- ckanext/spatial/harvesters/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/spatial/harvesters/base.py b/ckanext/spatial/harvesters/base.py index f811b0d2..08398473 100644 --- a/ckanext/spatial/harvesters/base.py +++ b/ckanext/spatial/harvesters/base.py @@ -399,7 +399,7 @@ def _extract_first_license_url(licences): }) package_dict['resources'].append(resource) - extras['resources'] = iso_values.get('lineage') + extras['lineage'] = iso_values.get('lineage') # Add default_extras from config default_extras = self.source_config.get('default_extras',{})