diff --git a/core/modules/views/src/Plugin/views/filter/NumericFilter.php b/core/modules/views/src/Plugin/views/filter/NumericFilter.php index d867969..40544aa 100644 --- a/core/modules/views/src/Plugin/views/filter/NumericFilter.php +++ b/core/modules/views/src/Plugin/views/filter/NumericFilter.php @@ -222,7 +222,7 @@ protected function valueForm(&$form, FormStateInterface $form_state) { '#default_value' => $this->value['min'], '#description' => !$exposed ? '' : $this->exposedInfo()['description'] ); - if ($exposed && $first_element == 'min') { + if ($exposed && in_array($this->operator, $this->operatorValues(2))) { $form['value']['min']['#title'] = $this->exposedInfo()['label']; $form['value']['min']['#description'] = $this->exposedInfo()['description']; } else { @@ -390,3 +390,4 @@ public function acceptExposedInput($input) { } } +