Skip to content

Commit

Permalink
Update csv_export.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zandercymatics committed Dec 19, 2024
1 parent e9d0a54 commit 5f5ca0b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/registrar/utility/csv_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -1097,6 +1097,12 @@ class DomainDataFull(DomainExport):
# pulling the wrong data.
# For example, the portfolio name, rather than the suborganization name.
# This can be removed after that gets fixed.
# The following fields are changed from DomainExport:
# converted_organization_name => organization_name
# converted_city => city
# converted_state_territory => state_territory
# converted_so_name => so_name
# converted_so_email => senior_official__email
@classmethod
def get_fields(cls, model):
FIELDS = {
Expand Down Expand Up @@ -1207,10 +1213,16 @@ class DomainDataFederal(DomainExport):
"""

# NOTE - this override is temporary.
# We are running into a problem where DomainDataFederal is
# We are running into a problem where DomainDataFull is
# pulling the wrong data.
# For example, the portfolio name, rather than the suborganization name.
# This can be removed after that gets fixed.
# The following fields are changed from DomainExport:
# converted_organization_name => organization_name
# converted_city => city
# converted_state_territory => state_territory
# converted_so_name => so_name
# converted_so_email => senior_official__email
@classmethod
def get_fields(cls, model):
FIELDS = {
Expand Down

0 comments on commit 5f5ca0b

Please sign in to comment.