mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 11:38:39 +02:00
Fix some issues with deleted_at and first_ready_at in csv_export, add those new date columns to Domain table in admin
This commit is contained in:
parent
2f3a06f7fa
commit
2b6f2e977e
3 changed files with 13 additions and 15 deletions
|
@ -492,15 +492,15 @@ class ExportDataTest(TestCase):
|
|||
"domain__state__in": [
|
||||
Domain.State.READY,
|
||||
],
|
||||
"domain__first_ready_at__lt": end_date,
|
||||
"domain__first_ready_at__gt": start_date,
|
||||
"domain__first_ready_at__lte": end_date,
|
||||
"domain__first_ready_at__gte": start_date,
|
||||
}
|
||||
filter_conditions_for_additional_domains = {
|
||||
"domain__state__in": [
|
||||
Domain.State.DELETED,
|
||||
],
|
||||
"domain__deleted_at__lt": end_date,
|
||||
"domain__deleted_at__gt": start_date,
|
||||
"domain__deleted_at__lte": end_date,
|
||||
"domain__deleted_at__gte": start_date,
|
||||
}
|
||||
|
||||
# Call the export function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue