From a3657b4282e22253850ab3053a51044fb21aee05 Mon Sep 17 00:00:00 2001 From: Vincent Langlet Date: Thu, 21 Jul 2022 20:30:24 +0200 Subject: [PATCH] Add missing operator_type (#764) --- src/Filter/AbstractDateFilter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Filter/AbstractDateFilter.php b/src/Filter/AbstractDateFilter.php index 2c55badc..7e39d130 100644 --- a/src/Filter/AbstractDateFilter.php +++ b/src/Filter/AbstractDateFilter.php @@ -50,6 +50,7 @@ final public function getFormOptions(): array 'field_type' => $this->getFieldType(), 'field_options' => $this->getFieldOptions(), 'label' => $this->getLabel(), + 'operator_type' => $this->range ? DateRangeOperatorType::class : DateOperatorType::class, ]; }