From 847dfc8e63b04c92cffed5beda9307ccc968c548 Mon Sep 17 00:00:00 2001
From: Thorge Petersen <petersen@rz.uni-kiel.de>
Date: Fri, 13 Oct 2023 10:16:25 +0200
Subject: [PATCH] Make extract email function available in templates

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

diff --git a/ckanext/odsh/plugin.py b/ckanext/odsh/plugin.py
index 2d12bc5a..504d3025 100644
--- a/ckanext/odsh/plugin.py
+++ b/ckanext/odsh/plugin.py
@@ -333,6 +333,7 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
           'odsh_extract_error': helpers_odsh.odsh_extract_error,
           'odsh_extract_error_new': helpers_odsh.odsh_extract_error_new,
           'odsh_extract_value_from_extras': helpers_odsh.odsh_extract_value_from_extras,
+          'extract_email': helpers_odsh.extract_email,
           'odsh_create_checksum': helpers_odsh.odsh_create_checksum,
           'presorted_license_options': helpers_odsh.presorted_license_options,
           'odsh_has_more_facets': helpers_odsh.odsh_has_more_facets,
-- 
GitLab