diff --git a/core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php b/core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php index 4aebf9c..039523c 100644 --- a/core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php +++ b/core/modules/views_ui/src/Form/Ajax/RearrangeFilter.php @@ -135,7 +135,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { 'class' => array('views-remove-group'), ), '#group' => $id, - '#ajax' => ['path' => $this->getRequest()->getRequestUri()], + '#ajax' => ['url' => NULL], ]; } $group_options[$id] = $id == 1 ? $this->t('Default group') : $this->t('Group @group', array('@group' => $id)); @@ -217,7 +217,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { '#value' => $this->t('Create new filter group'), '#id' => 'views-add-group', '#group' => 'add', - '#ajax' => ['path' => $this->getRequest()->getRequestUri()], + '#ajax' => ['url' => NULL], ]; return $form;