Skip to content

Commit

Permalink
fix for serie
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioMendolia committed Sep 21, 2023
1 parent 78483ab commit 02e92d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/BookFilterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 02e92d4

Please sign in to comment.