mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 09:05:56 +00:00
BUGFIX: Changed the base URL for the search so it hits the correct action
This commit is contained in:
parent
99951426ed
commit
c9f35cebbb
@ -759,7 +759,7 @@ class DocumentationViewer extends Controller {
|
|||||||
$form = new Form($this, 'DocumentationSearchForm', $fields, $actions);
|
$form = new Form($this, 'DocumentationSearchForm', $fields, $actions);
|
||||||
$form->disableSecurityToken();
|
$form->disableSecurityToken();
|
||||||
$form->setFormMethod('get');
|
$form->setFormMethod('get');
|
||||||
$form->setFormAction('home/DocumentationSearchForm');
|
$form->setFormAction(self::$link_base . 'DocumentationSearchForm');
|
||||||
|
|
||||||
return $form;
|
return $form;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user