From 497ee2f0272670b4d7f1e54e3856b26e547312ec Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 27 May 2023 11:34:13 +0200 Subject: [PATCH] add form options in the crud filter action --- src/core/Controller/Admin/Crud/CrudController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Controller/Admin/Crud/CrudController.php b/src/core/Controller/Admin/Crud/CrudController.php index 34d3d9d..397526b 100644 --- a/src/core/Controller/Admin/Crud/CrudController.php +++ b/src/core/Controller/Admin/Crud/CrudController.php @@ -284,7 +284,7 @@ abstract class CrudController extends AdminController throw $this->createNotFoundException(); } - $form = $this->createForm($type); + $form = $this->createForm($type, null, $configuration->getFormOptions('filter')); $form->submit($session->get($form->getName(), [])); return $this->render($configuration->getView('filter'), [