From 02e92d4c8d576522860831a8ddf5a2bb2599c930 Mon Sep 17 00:00:00 2001 From: Sergio Mendolia Date: Thu, 21 Sep 2023 18:58:26 +0200 Subject: [PATCH] fix for serie --- src/Form/BookFilterType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/BookFilterType.php b/src/Form/BookFilterType.php index a674dd47..3c89955d 100644 --- a/src/Form/BookFilterType.php +++ b/src/Form/BookFilterType.php @@ -148,7 +148,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void foreach ($series as $key => $serie) { if ($serie === 'no_serie') { - $orModule->add('book.serie = \'[]\''); + $orModule->add('book.serie is null'); } else { $orModule->add('book.serie=:serie'.$key); $qb->setParameter('serie'.$key, $serie);