Import the Member.active
flag from CORE API
This commit is contained in:
parent
bfc52a6fb3
commit
dde729b959
|
@ -851,6 +851,7 @@ class MemberImporter(FromCOREPOSAPI, corepos_importing.model.MemberImporter):
|
|||
'person_uuid',
|
||||
'joined',
|
||||
'withdrew',
|
||||
'active',
|
||||
]
|
||||
|
||||
# TODO: should make this configurable
|
||||
|
@ -932,4 +933,5 @@ class MemberImporter(FromCOREPOSAPI, corepos_importing.model.MemberImporter):
|
|||
'person_uuid': person.uuid,
|
||||
'joined': joined,
|
||||
'withdrew': withdrew,
|
||||
'active': not bool(withdrew),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue