mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
CMSMain->LinkWithSearch() visibility
Required for tree links retaining search state
This commit is contained in:
parent
c3b4d68664
commit
1f14654649
@ -188,7 +188,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
||||
}
|
||||
}
|
||||
|
||||
protected function LinkWithSearch($link) {
|
||||
public function LinkWithSearch($link) {
|
||||
// Whitelist to avoid side effects
|
||||
$params = array(
|
||||
'q' => (array)$this->request->getVar('q'),
|
||||
|
Loading…
Reference in New Issue
Block a user