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',
|
'person_uuid',
|
||||||
'joined',
|
'joined',
|
||||||
'withdrew',
|
'withdrew',
|
||||||
|
'active',
|
||||||
]
|
]
|
||||||
|
|
||||||
# TODO: should make this configurable
|
# TODO: should make this configurable
|
||||||
|
@ -932,4 +933,5 @@ class MemberImporter(FromCOREPOSAPI, corepos_importing.model.MemberImporter):
|
||||||
'person_uuid': person.uuid,
|
'person_uuid': person.uuid,
|
||||||
'joined': joined,
|
'joined': joined,
|
||||||
'withdrew': withdrew,
|
'withdrew': withdrew,
|
||||||
|
'active': not bool(withdrew),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue