mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 06:05:56 +00: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
|
// Whitelist to avoid side effects
|
||||||
$params = array(
|
$params = array(
|
||||||
'q' => (array)$this->request->getVar('q'),
|
'q' => (array)$this->request->getVar('q'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user