Merge branch 'trunk' of ssh://git.autonomic.zone:2222/autonomic-cooperative/civicrm-confdump into trunk
This commit is contained in:
commit
e888c08d30
@ -252,7 +252,7 @@ def main() -> int:
|
||||
of.write(json.dumps(data))
|
||||
# dump org contacts
|
||||
output = args.output / ("Contact.json")
|
||||
data = api.get("Contact", where=[["contact_sub_type", "=", "Political_Party"]])
|
||||
data = api.get("Contact", where=[["contact_sub_type", "CONTAINS", "Political_Party"]])
|
||||
if data:
|
||||
print("dumping parties")
|
||||
with output.open("w") as of:
|
||||
|
Loading…
Reference in New Issue
Block a user