utils: import historical and scope notes
This commit is contained in:
parent
d3ce8eb40b
commit
cbb4481cdb
|
@ -34,7 +34,8 @@ class ImportJson(BrowserView):
|
||||||
except KeyError:
|
except KeyError:
|
||||||
self.intids.register(object)
|
self.intids.register(object)
|
||||||
object.title = term.get('title')
|
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')
|
object.equivs = term.get('equivalents')
|
||||||
term_intids[term_id] = self.intids.getId(object)
|
term_intids[term_id] = self.intids.getId(object)
|
||||||
|
|
||||||
|
|
Reference in New Issue