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);