From b237b680ebf1bff5a8f09690c4768b6d42841d9c Mon Sep 17 00:00:00 2001 From: mjanez <96422458+mjanez@users.noreply.github.com> Date: Tue, 28 May 2024 13:48:17 +0200 Subject: [PATCH 1/2] Update CKAN configuration with default package item icon and show spatial option --- ckan/docker-entrypoint.d/02_setup_scheming.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckan/docker-entrypoint.d/02_setup_scheming.sh b/ckan/docker-entrypoint.d/02_setup_scheming.sh index 83706956..dced82b2 100644 --- a/ckan/docker-entrypoint.d/02_setup_scheming.sh +++ b/ckan/docker-entrypoint.d/02_setup_scheming.sh @@ -14,7 +14,7 @@ ckan config-tool $CKAN_INI \ "schemingdcat.organization_custom_facets=$CKANEXT__SCHEMINGDCAT_ORGANIZATION_CUSTOM_FACETS" \ "schemingdcat.group_custom_facets=$CKANEXT__SCHEMINGDCAT_GROUP_CUSTOM_FACETS" \ "schemingdcat.geometadata_base_uri=$CKANEXT__SCHEMINGDCAT_GEOMETADATA_BASE_URI" \ - "schemingdcat.default_package_item_icon"=$CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_ICON"" \ + "schemingdcat.default_package_item_icon"=$CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_ICON" \ "schemingdcat.default_package_item_show_spatial"=$CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_SHOW_SPATIAL" echo "[docker-entrypoint.02_setup_scheming] Rebuild index" From 4cecf1a9d1d94a2087d430a8e892f6a90406425e Mon Sep 17 00:00:00 2001 From: mjanez <96422458+mjanez@users.noreply.github.com> Date: Tue, 28 May 2024 13:49:39 +0200 Subject: [PATCH 2/2] Fix 02_setup_scheming.sh --- ckan/docker-entrypoint.d/02_setup_scheming.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ckan/docker-entrypoint.d/02_setup_scheming.sh b/ckan/docker-entrypoint.d/02_setup_scheming.sh index dced82b2..85afc64f 100644 --- a/ckan/docker-entrypoint.d/02_setup_scheming.sh +++ b/ckan/docker-entrypoint.d/02_setup_scheming.sh @@ -14,8 +14,8 @@ ckan config-tool $CKAN_INI \ "schemingdcat.organization_custom_facets=$CKANEXT__SCHEMINGDCAT_ORGANIZATION_CUSTOM_FACETS" \ "schemingdcat.group_custom_facets=$CKANEXT__SCHEMINGDCAT_GROUP_CUSTOM_FACETS" \ "schemingdcat.geometadata_base_uri=$CKANEXT__SCHEMINGDCAT_GEOMETADATA_BASE_URI" \ - "schemingdcat.default_package_item_icon"=$CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_ICON" \ - "schemingdcat.default_package_item_show_spatial"=$CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_SHOW_SPATIAL" + "schemingdcat.default_package_item_icon=$CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_ICON" \ + "schemingdcat.default_package_item_show_spatial=$CKANEXT__SCHEMINGDCAT_DEFAULT_PACKAGE_ITEM_SHOW_SPATIAL" echo "[docker-entrypoint.02_setup_scheming] Rebuild index" ckan -c $CKAN_INI search-index rebuild \ No newline at end of file