From 961336f35c009953a4c46f39288270a91396d0b5 Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Sat, 11 Dec 2021 15:51:23 +0100 Subject: [PATCH] fix project are not filtered after submit (#3016) --- src/Form/Toolbar/InvoiceToolbarSimpleForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Form/Toolbar/InvoiceToolbarSimpleForm.php b/src/Form/Toolbar/InvoiceToolbarSimpleForm.php index 87e79d4d..55a9aa14 100644 --- a/src/Form/Toolbar/InvoiceToolbarSimpleForm.php +++ b/src/Form/Toolbar/InvoiceToolbarSimpleForm.php @@ -28,7 +28,7 @@ class InvoiceToolbarSimpleForm extends AbstractToolbarForm $this->addTemplateChoice($builder); $this->addDateRange($builder, ['timezone' => $options['timezone']]); $this->addCustomerMultiChoice($builder, ['required' => false, 'start_date_param' => null, 'end_date_param' => null, 'ignore_date' => true, 'placeholder' => ''], true); - $this->addProjectMultiChoice($builder, ['ignore_date' => true], false, true); + $this->addProjectMultiChoice($builder, ['ignore_date' => true], true, true); $builder->add('markAsExported', CheckboxType::class, [ 'label' => 'label.mark_as_exported', 'required' => false,