diff --git a/core/modules/views/src/Plugin/views/filter/NumericFilter.php b/core/modules/views/src/Plugin/views/filter/NumericFilter.php index 7839d50..d0aa823 100644 --- a/core/modules/views/src/Plugin/views/filter/NumericFilter.php +++ b/core/modules/views/src/Plugin/views/filter/NumericFilter.php @@ -139,8 +139,6 @@ protected function operatorValues($values = 1) { * Provide a simple textfield for equality */ protected function valueForm(&$form, FormStateInterface $form_state) { - $form['value']['#tree'] = TRUE; - // Set a filter wrapper. $exposed = !empty($this->options['expose']); $wrapped = ($exposed && in_array($this->operator, $this->operatorValues(2))) || !empty($this->options['expose']['use_operator']); @@ -254,6 +252,7 @@ protected function valueForm(&$form, FormStateInterface $form_state) { } } $form['value'] += $value; + $form['value']['value']['#tree' = TRUE; } public function query() {