FilterEditor: correct submit button name
This commit is contained in:
parent
281e6e8163
commit
6def061742
|
@ -323,7 +323,7 @@ class FilterEditor extends AbstractWidget
|
||||||
if ($request->get('cancel') === 'Cancel') {
|
if ($request->get('cancel') === 'Cancel') {
|
||||||
$this->redirectNow($this->preservedUrl()->without('modifyFilter'));
|
$this->redirectNow($this->preservedUrl()->without('modifyFilter'));
|
||||||
}
|
}
|
||||||
if ($request->get('apply') === 'Apply') {
|
if ($request->get('submit') === 'Apply') {
|
||||||
$filter = $this->applyChanges($request->getPost());
|
$filter = $this->applyChanges($request->getPost());
|
||||||
$url = $this->url()->setQueryString($filter->toQueryString())->addParams($preserve);
|
$url = $this->url()->setQueryString($filter->toQueryString())->addParams($preserve);
|
||||||
$url->getParams()->add('modifyFilter');
|
$url->getParams()->add('modifyFilter');
|
||||||
|
|
Loading…
Reference in New Issue