Add HasTemporaryLocationFilter test and update filter parameters

A new test HasTemporaryLocationFilterTest has been added under ChillPersonBundle. This test mainly focuses on checking the filter functionalities related to temporary locations. In addition, the 'having_temporarily' parameter has been added to 'calc_date' field in HasTemporaryLocationFilter class.
This commit is contained in:
2024-01-22 11:44:32 +01:00
parent ae7637acc6
commit e2e0b08210
2 changed files with 68 additions and 1 deletions

View File

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