Changed operator for contact subtype to "contains"

When it was "=" it didn't get ones with multiple subtypes.
This commit is contained in:
autonomic 2022-03-09 09:39:29 +01:00
parent 3344394fbc
commit 145a0f698d
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ def main() -> int:
# 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: