From 41c39aefcda9ae7cee7b09b64bd05205bb818df7 Mon Sep 17 00:00:00 2001
From: Thorge Petersen <petersen@rz.uni-kiel.de>
Date: Mon, 20 Jan 2025 09:28:22 +0100
Subject: [PATCH] fix: matomo enabled var readout

---
 ckanext/odsh/plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ckanext/odsh/plugin.py b/ckanext/odsh/plugin.py
index b907f9f..47f2a9a 100644
--- a/ckanext/odsh/plugin.py
+++ b/ckanext/odsh/plugin.py
@@ -359,7 +359,7 @@ class OdshPlugin(p.SingletonPlugin, DefaultTranslation, tk.DefaultDatasetForm):
           'odsh_load_mdk_sample_dataset': helpers_odsh.odsh_load_mdk_sample_dataset,
           'odsh_load_raw_mdk_sample_dataset': helpers_odsh.odsh_load_raw_mdk_sample_dataset,
           'format_resource_format': helpers_odsh.format_resource_format,
-          'odsh_matomo_enabled': helpers_odsh.odsh_show_testbanner,
+          'odsh_matomo_enabled': helpers_odsh.odsh_matomo_enabled,
           'odsh_matomo_base_uri': helpers_odsh.odsh_matomo_base_uri,
           'odsh_matomo_site_id': helpers_odsh.odsh_matomo_site_id,
          }
-- 
GitLab