From 2e6bb50a79f1ab6c292b5119bc9860a1f7801948 Mon Sep 17 00:00:00 2001 From: Thomas Kurz Date: Wed, 5 Jun 2024 13:16:22 +0200 Subject: [PATCH] #33 fix type issuer for literal --- ckanext/stadtzh_losdharvest/profiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/stadtzh_losdharvest/profiles.py b/ckanext/stadtzh_losdharvest/profiles.py index 56e1b81..375caf9 100644 --- a/ckanext/stadtzh_losdharvest/profiles.py +++ b/ckanext/stadtzh_losdharvest/profiles.py @@ -178,7 +178,7 @@ def _get_attributes(self, dataset_ref): speak_name = self._object(ref, SCHEMA.name) tech_name = self._object(ref, SCHEMA.alternateName) description = self._object(ref, SCHEMA.description) - position = self._object(ref, SCHEMA.position) or 0 + position = self._object_value_int(ref, SCHEMA.position) or 0 if tech_name is not None: attribute_name = "%s (technisch: %s)" % (speak_name, tech_name)