Merge branch 'za/1909-change-org-field-to-new-format' into za/1911-fill-new-org-type-column

This commit is contained in:
zandercymatics 2024-04-08 20:38:18 -06:00
commit 7f34d50ae9
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7

View file

@ -189,7 +189,7 @@ class CreateOrUpdateOrganizationTypeHelper:
new_org = election_org_map[current_org_type]
self.instance.generic_org_type = new_org
self.instance.is_election_board = True
elif self.instance.generic_org_type is not None:
elif self.instance.organization_type is not None:
self.instance.generic_org_type = current_org_type
# This basically checks if the given org type