From cbb4481cdb86b26b8617462998d9b96453b9af69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 29 Jan 2013 09:49:24 +0100 Subject: [PATCH] utils: import historical and scope notes --- src/collective/dms/thesaurus/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/collective/dms/thesaurus/utils.py b/src/collective/dms/thesaurus/utils.py index 350aa63..3323852 100644 --- a/src/collective/dms/thesaurus/utils.py +++ b/src/collective/dms/thesaurus/utils.py @@ -34,7 +34,8 @@ class ImportJson(BrowserView): except KeyError: self.intids.register(object) object.title = term.get('title') - object.description = term.get('note') + object.historical_note = term.get('historical_note') + object.scope_note = term.get('scope_note') object.equivs = term.get('equivalents') term_intids[term_id] = self.intids.getId(object)