diff --git a/core/modules/views/src/Form/ViewsExposedForm.php b/core/modules/views/src/Form/ViewsExposedForm.php index b80d919..16bec39 100644 --- a/core/modules/views/src/Form/ViewsExposedForm.php +++ b/core/modules/views/src/Form/ViewsExposedForm.php @@ -181,7 +181,10 @@ public function submitForm(array &$form, FormStateInterface $form_state) { // https://www.drupal.org/node/342316 is resolved. $checked = Checkboxes::getCheckedCheckboxes($value); foreach ($checked as $option_id) { - $view->exposed_raw_input[$option_id] = $value[$option_id]; + $checked_array[$option_id] = $value[$option_id]; + } + if ($checked) { + $view->exposed_raw_input[$key] = $checked_array; } } else {