From 650ea3ede024a222cd3b77b6ea8397b078a496db Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 27 May 2023 11:43:45 +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 397526b..a7444f2 100644 --- a/src/core/Controller/Admin/Crud/CrudController.php +++ b/src/core/Controller/Admin/Crud/CrudController.php @@ -302,7 +302,7 @@ abstract class CrudController extends AdminController return; } - $form = $this->createForm($type); + $form = $this->createForm($type, null, $configuration->getFormOptions('filter')); if ($request->query->has($form->getName())) { $filters = $request->query->get($form->getName());