diff --git a/src/Form/BookFilterType.php b/src/Form/BookFilterType.php index 5636e2ee..8f25330e 100644 --- a/src/Form/BookFilterType.php +++ b/src/Form/BookFilterType.php @@ -205,6 +205,14 @@ public function buildForm(FormBuilderInterface $builder, array $options): void }, ]); + $builder->add('displayMode', Type\HiddenType::class, [ + 'data' => 'list', + 'mapped' => false, + 'target_callback' => function (QueryBuilder $qb, ?string $orderByValue): void { + + }, + ]); + $builder->add('submit', Type\SubmitType::class, [ 'label' => 'Filter', 'attr' => [