mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-23 17:51:03 +02:00
Removed domain state filters on metadata report
This commit is contained in:
parent
3cc39a3848
commit
c9b236349a
1 changed files with 2 additions and 8 deletions
|
@ -381,6 +381,7 @@ def export_data_type_to_csv(csv_file):
|
||||||
"""
|
"""
|
||||||
All domains report with extra columns.
|
All domains report with extra columns.
|
||||||
This maps to the "All domain metadata" button.
|
This maps to the "All domain metadata" button.
|
||||||
|
Exports domains of all statuses.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
writer = csv.writer(csv_file)
|
writer = csv.writer(csv_file)
|
||||||
|
@ -408,15 +409,8 @@ def export_data_type_to_csv(csv_file):
|
||||||
"federal_agency",
|
"federal_agency",
|
||||||
"domain__name",
|
"domain__name",
|
||||||
]
|
]
|
||||||
filter_condition = {
|
|
||||||
"domain__state__in": [
|
|
||||||
Domain.State.READY,
|
|
||||||
Domain.State.DNS_NEEDED,
|
|
||||||
Domain.State.ON_HOLD,
|
|
||||||
],
|
|
||||||
}
|
|
||||||
write_csv_for_domains(
|
write_csv_for_domains(
|
||||||
writer, columns, sort_fields, filter_condition, should_get_domain_managers=True, should_write_header=True
|
writer, columns, sort_fields, filter_condition={}, should_get_domain_managers=True, should_write_header=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue