FilterEditor: correct submit button name

This commit is contained in:
Alexander A. Klimov 2016-04-27 12:49:40 +02:00
parent 281e6e8163
commit 6def061742
1 changed files with 1 additions and 1 deletions

View File

@ -323,7 +323,7 @@ class FilterEditor extends AbstractWidget
if ($request->get('cancel') === 'Cancel') {
$this->redirectNow($this->preservedUrl()->without('modifyFilter'));
}
if ($request->get('apply') === 'Apply') {
if ($request->get('submit') === 'Apply') {
$filter = $this->applyChanges($request->getPost());
$url = $this->url()->setQueryString($filter->toQueryString())->addParams($preserve);
$url->getParams()->add('modifyFilter');