Modified reports/Export_AllPermitsBySubdivision_CSV.php to include the post superglobal for the CSV export
This commit is contained in:
@@ -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"');
|
||||
|
||||
Reference in New Issue
Block a user