From 9641f674e4237d5a0d6390efb2ec664cb4b42609 Mon Sep 17 00:00:00 2001 From: vvmruder Date: Fri, 26 May 2023 17:57:03 +0200 Subject: [PATCH] Update document.py 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 = []