Merge pull request #185 from wilr/patch-1
Fix SearchForm throwing a 404 on search
This commit is contained in:
commit
3f6036b1ae
|
@ -75,7 +75,7 @@ class GridFieldAddExistingSearchHandler extends RequestHandler
|
||||||
{
|
{
|
||||||
$form = new Form(
|
$form = new Form(
|
||||||
$this,
|
$this,
|
||||||
'SilverStripe\\CMS\\Search\\SearchForm',
|
'SearchForm',
|
||||||
$this->context->getFields(),
|
$this->context->getFields(),
|
||||||
new FieldList(
|
new FieldList(
|
||||||
FormAction::create('doSearch', _t('GridFieldExtensions.SEARCH', 'Search'))
|
FormAction::create('doSearch', _t('GridFieldExtensions.SEARCH', 'Search'))
|
||||||
|
|
Loading…
Reference in New Issue