From 27352fb92987c02eb78d552f51ef9194310153df Mon Sep 17 00:00:00 2001 From: Julien Corny Date: Wed, 8 Jan 2025 12:04:58 +0100 Subject: [PATCH] fix: municipality name in urban docs for cards --- backend/gn_module_zh/model/cards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/gn_module_zh/model/cards.py b/backend/gn_module_zh/model/cards.py index 836d01a2..a4f9b699 100644 --- a/backend/gn_module_zh/model/cards.py +++ b/backend/gn_module_zh/model/cards.py @@ -809,7 +809,7 @@ def __init__(self, id_area, id_doc_type, id_cors, remark): def __str__(self): return { - "commune": DB.session.get(LAreas, self.id_area).id_area, + "commune": DB.session.get(LAreas, self.id_area).area_name, "type_doc": Utils.get_mnemo(self.id_doc_type), "type_classement": [ Utils.get_mnemo(