mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #1050 from tractorcow/pr/1019
Fix for #1018 "'Export To CSV' for Reports not working"
This commit is contained in:
commit
2f3bd7094a
@ -179,7 +179,7 @@ class ReportAdmin extends LeftAndMain {
|
||||
unset($filteredCriteria[$notAParam]);
|
||||
}
|
||||
|
||||
$formLink = $this->Link() . '/EditForm';
|
||||
$formLink = $this->Link( 'EditForm' );
|
||||
if($filteredCriteria) $formLink .= '?' . http_build_query($filteredCriteria);
|
||||
$form->setFormAction($formLink);
|
||||
$form->setTemplate('ReportAdminForm');
|
||||
|
Loading…
Reference in New Issue
Block a user