From d03edb208e4f386a6f59e9c1865e32e0231e9d9f Mon Sep 17 00:00:00 2001 From: Saophalkun Ponlu Date: Wed, 23 Aug 2017 15:09:21 +1200 Subject: [PATCH] FIX Search in page edit should now redirect to (full) table view --- code/Controllers/CMSMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/Controllers/CMSMain.php b/code/Controllers/CMSMain.php index 90b27ad9..55d2a734 100644 --- a/code/Controllers/CMSMain.php +++ b/code/Controllers/CMSMain.php @@ -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();