fixed mapping of election org types

This commit is contained in:
David Kennedy 2024-12-31 07:32:19 -05:00
parent 0417478ad7
commit 35ecffcbac
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -544,7 +544,7 @@ class DomainExport(BaseExport):
portfolio__isnull=False,
portfolio__organization_type__isnull=False,
is_election_board=True,
then=Concat(F("portfolio__organization_type"), Value(" - Election")),
then=Concat(F("portfolio__organization_type"), Value("_election")),
),
# When portfolio is present and is_election_board is False or None
When(