diff --git a/src/Form/Type/SearchFacetsType.php b/src/Form/Type/SearchFacetsType.php index 97f56c57..6747bd7a 100644 --- a/src/Form/Type/SearchFacetsType.php +++ b/src/Form/Type/SearchFacetsType.php @@ -34,7 +34,6 @@ public function buildForm(FormBuilderInterface $builder, array $options): void foreach ($facetData['buckets'] as $bucket) { $choices[$facet->getBucketLabel($bucket)] = $bucket['key']; } -// Assert::notEmpty($choices); if ([] !== $choices) { $builder ->add(