This commit is contained in:
asaki222 2024-11-06 17:18:19 -05:00
parent 9a5ed14e88
commit 45f8a85348
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
2 changed files with 2 additions and 6 deletions

View file

@ -1269,7 +1269,7 @@ class DomainRequestExport(BaseExport):
human_readable_federal_type = BranchChoices.get_branch_label(federal_type) if federal_type else None
# Handle the org_type field
org_type = model.get("generic_org_type")
org_type = model.get("generic_org_type") or model.get("organization_type")
human_readable_org_type = DomainRequest.OrganizationChoices.get_org_label(org_type) if org_type else None
# Handle the status field. Defaults to the wrong format.