Update 'calc_date' field option in HasTemporaryLocationFilter.php

This commit makes the 'calc_date' field in HasTemporaryLocationFilter.php required. This field was previously optional; this change ensures that a calculation date is always provided when filtering accompanying courses by temporary location.
This commit is contained in:
Julien Fastré 2024-02-07 16:38:41 +01:00
parent 8be9fb6553
commit c05451bfe9
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -70,7 +70,8 @@ class HasTemporaryLocationFilter implements FilterInterface
}, },
]) ])
->add('calc_date', PickRollingDateType::class, [ ->add('calc_date', PickRollingDateType::class, [
'label' => 'export.filter.course.having_temporarily.Calculation date', 'having_temporarily' => true, 'label' => 'export.filter.course.having_temporarily.Calculation date',
'required' => true,
]); ]);
} }