Modified reports/Export_AllPermitsBySubdivision_CSV.php to include the post superglobal for the CSV export

This commit is contained in:
2026-07-21 06:40:05 -04:00
parent 3285360d75
commit b2d214f4be
@@ -32,7 +32,7 @@ class Export_AllPermitsBySubdivision_CSV extends Base {
$permit_area = $subscription->record->subscription_area;
$projecttype = $subscription->record->subscription_projecttype;
$permits = (new PermitsBySubdivision())->getAllPermitsBySubdivision($permit_area, $projecttype);
$permits = (new PermitsBySubdivision())->getAllPermitsBySubdivision($permit_area, $projecttype, $_POST);
header('Content-Type: text/csv');
header('Content-Disposition: attachment; filename="All_PermitsBySubdivision.csv"');