add form options in the crud filter action
This commit is contained in:
parent
8b13d37e71
commit
497ee2f027
|
@ -284,7 +284,7 @@ abstract class CrudController extends AdminController
|
||||||
throw $this->createNotFoundException();
|
throw $this->createNotFoundException();
|
||||||
}
|
}
|
||||||
|
|
||||||
$form = $this->createForm($type);
|
$form = $this->createForm($type, null, $configuration->getFormOptions('filter'));
|
||||||
$form->submit($session->get($form->getName(), []));
|
$form->submit($session->get($form->getName(), []));
|
||||||
|
|
||||||
return $this->render($configuration->getView('filter'), [
|
return $this->render($configuration->getView('filter'), [
|
||||||
|
|
Loading…
Reference in a new issue