mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00:00
Fix for #1018 "'Export To CSV' for Reports not working"
The call to LeftAndMain::Link() was appending the Action as opposed to passing it as a parameter This resulted in the double forward slash (/), There is still possibly an unresolved issue with LeftAndMain::Link() about appending the slash at the end??
This commit is contained in:
parent
681645ac0f
commit
7c9c8e11b4
@ -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…
x
Reference in New Issue
Block a user