layout for filter on the list page

This commit is contained in:
2022-07-01 15:16:21 +02:00
parent f513749780
commit 3dcec5d44a
5 changed files with 7 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ final class FilterOrderType extends \Symfony\Component\Form\AbstractType
foreach ($helper->getDateRanges() as $name => $opts) {
$rangeBuilder = $dateRangesBuilder->create($name, null, [
'compound' => true,
'label' => $opts['label'] ?? $name,
'label' => null === $opts['label'] ? false : $opts['label'] ?? $name,
]);
$rangeBuilder->add(