From beaf17faf77ac08785d8b098cd48f5d6fcac0cf5 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 4 Dec 2024 16:25:14 +0000 Subject: [PATCH] [Central Beds] Include other fly-tipping types in CSV. --- perllib/FixMyStreet/Cobrand/CentralBedfordshire.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perllib/FixMyStreet/Cobrand/CentralBedfordshire.pm b/perllib/FixMyStreet/Cobrand/CentralBedfordshire.pm index 2a2a26870ba..21dfaef18ba 100644 --- a/perllib/FixMyStreet/Cobrand/CentralBedfordshire.pm +++ b/perllib/FixMyStreet/Cobrand/CentralBedfordshire.pm @@ -282,18 +282,18 @@ sub dashboard_export_problems_add_columns { $csv->add_csv_columns( external_id => 'CRNo', - housing_flytipping_types => 'Housing fly-tipping types', + flytipping_types => 'Fly-tipping types', ); $csv->csv_extra_data(sub { my $report = shift; - my $types = $csv->_extra_field($report, 'Type') || []; + my $types = $csv->_extra_field($report, 'Type') || $csv->_extra_field($report, 'type_of_waste') || []; $types = [$types] unless ref $types; $types = join(';', sort @$types); my $data = { - housing_flytipping_types => $types, + flytipping_types => $types, }; unless ($csv->dbi) {