mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
FIX Search in page edit should now redirect to (full) table view
This commit is contained in:
parent
6efb35fbcf
commit
d03edb208e
@ -887,7 +887,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
|
|||||||
$form = Form::create($this, 'SearchForm', $fields, $actions)
|
$form = Form::create($this, 'SearchForm', $fields, $actions)
|
||||||
->addExtraClass('cms-search-form')
|
->addExtraClass('cms-search-form')
|
||||||
->setFormMethod('GET')
|
->setFormMethod('GET')
|
||||||
->setFormAction($this->Link())
|
->setFormAction(CMSMain::singleton()->Link())
|
||||||
->disableSecurityToken()
|
->disableSecurityToken()
|
||||||
->unsetValidator();
|
->unsetValidator();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user