Merge pull request #185 from wilr/patch-1

Fix SearchForm throwing a 404 on search
This commit is contained in:
Marcus 2017-05-04 11:45:51 +10:00 committed by GitHub
commit 3f6036b1ae
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class GridFieldAddExistingSearchHandler extends RequestHandler
{
$form = new Form(
$this,
'SilverStripe\\CMS\\Search\\SearchForm',
'SearchForm',
$this->context->getFields(),
new FieldList(
FormAction::create('doSearch', _t('GridFieldExtensions.SEARCH', 'Search'))