Commit 991d2eb3 authored by stanvoets's avatar stanvoets Committed by borisson_

Issue #2934371 by stanvoets: Cloning a facet redirects to the edit form of the original facet

parent 7afa25d5
......@@ -153,7 +153,7 @@ class FacetCloneForm extends EntityForm {
drupal_set_message($this->t('Facet cloned to :label', [':label' => $facet->label()]));
// Redirect the user to the view admin form.
$form_state->setRedirectUrl($this->entity->toUrl('edit-form'));
$form_state->setRedirectUrl($facet->toUrl('edit-form'));
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment