mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-25 12:08:40 +02:00
Include cisa rep first and last
This commit is contained in:
parent
7399982aaa
commit
3194fc94a0
1 changed files with 5 additions and 1 deletions
|
@ -913,7 +913,11 @@ class DomainRequestExport:
|
|||
human_readable_election_board = "Yes" if is_election_board else "No"
|
||||
|
||||
# Handle the additional details field. Pipe seperated.
|
||||
cisa_rep = request.get("cisa_representative_email")
|
||||
cisa_rep_first = request.get("cisa_representative_first_name")
|
||||
cisa_rep_last = request.get("cisa_representative_last_name")
|
||||
name = [n for n in [cisa_rep_first, cisa_rep_last] if n]
|
||||
|
||||
cisa_rep = " ".join(name) if name else None
|
||||
details = [cisa_rep, request.get("anything_else")]
|
||||
additional_details = " | ".join([field for field in details if field])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue