FIX Search in page edit should now redirect to (full) table view

This commit is contained in:
Saophalkun Ponlu 2017-08-23 15:09:21 +12:00 committed by Damian Mooyman
parent 6efb35fbcf
commit d03edb208e
No known key found for this signature in database
GPG Key ID: 78B823A10DE27D1A

View File

@ -887,7 +887,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
$form = Form::create($this, 'SearchForm', $fields, $actions)
->addExtraClass('cms-search-form')
->setFormMethod('GET')
->setFormAction($this->Link())
->setFormAction(CMSMain::singleton()->Link())
->disableSecurityToken()
->unsetValidator();