From 3c64ec9a86165cbed2a0d7c16fde8ec5c777f91a Mon Sep 17 00:00:00 2001 From: vvmruder Date: Mon, 27 Nov 2023 10:57:59 +0100 Subject: [PATCH] Update document.py (#1763) Make office at web from oereblex multilingual --- pyramid_oereb/contrib/data_sources/oereblex/sources/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyramid_oereb/contrib/data_sources/oereblex/sources/document.py b/pyramid_oereb/contrib/data_sources/oereblex/sources/document.py index 07e71104f2..e0bbe8acf7 100644 --- a/pyramid_oereb/contrib/data_sources/oereblex/sources/document.py +++ b/pyramid_oereb/contrib/data_sources/oereblex/sources/document.py @@ -204,7 +204,7 @@ def _get_document_records(self, document, language): document_type = Config.get_document_type_by_data_code(self._code, oereblex_doctype) # Create related office record - office = OfficeRecord({language: authority}, office_at_web=document.authority_url) + office = OfficeRecord({language: authority}, office_at_web={language: document.authority_url}) # Get files records = []