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:
Rachid Mrad 2023-12-21 16:04:30 -05:00
parent 2f3a06f7fa
commit 2b6f2e977e
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
3 changed files with 13 additions and 15 deletions

View file

@ -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