diff -rupN a/core/modules/views/src/Form/ViewsExposedForm.php b/core/modules/views/src/Form/ViewsExposedForm.php--- a/core/modules/views/src/Form/ViewsExposedForm.php 2019-01-17 01:30:03.000000000 +0200+++ b/core/modules/views/src/Form/ViewsExposedForm.php 2019-02-08 17:12:28.000000000 +0200@@ -67,8 +67,9 @@ class ViewsExposedForm extends FormBase $view = $form_state->get('view');
$display = &$form_state->get('display');
- $form_state->setUserInput($view->getExposedInput());-+ if (!$form_state->getUserInput()) {+ $form_state->setUserInput($view->getExposedInput());+ } // Let form plugins know this is for exposed widgets.
$form_state->set('exposed', TRUE);
// Check if the form was already created
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.