diff --git a/backend/core/src/listings/listings-csv-exporter.service.ts b/backend/core/src/listings/listings-csv-exporter.service.ts index cf6a80f4d8..1acb5bf9c7 100644 --- a/backend/core/src/listings/listings-csv-exporter.service.ts +++ b/backend/core/src/listings/listings-csv-exporter.service.ts @@ -177,7 +177,7 @@ export class ListingsCsvExporterService { "Minimum Occupancy": hideZero(listing.unit?.minOccupancy), "Max Occupancy": hideZero(listing.unit?.maxOccupancy), "AMI Chart": listing.unit?.amiChart?.name, - "AMI Level": listing.unit?.amiChart?.items[0]?.percentOfAmi, + "AMI Level": listing.unit?.amiPercentage, "Rent Type": formatRentType( listing.unit?.monthlyRentAsPercentOfIncome, listing.unit?.monthlyRent diff --git a/backend/core/src/listings/views/config.ts b/backend/core/src/listings/views/config.ts index 19e98fe048..2689402222 100644 --- a/backend/core/src/listings/views/config.ts +++ b/backend/core/src/listings/views/config.ts @@ -351,13 +351,13 @@ views.unitsExport = { "units.number", "unitType.name", "units.numBathrooms", + "units.amiPercentage", "units.floor", "units.sqFeet", "units.minOccupancy", "units.maxOccupancy", "units.monthlyIncomeMin", "amiChart.id", - "amiChart.items", "amiChart.name", "units.monthlyRent", "units.monthlyRentAsPercentOfIncome",