small description https://drupal.org/node/1463366
I just added a check

function workbench_moderation_node_form_submit($form, &$form_state) {
  if(!isset($form['parent_build_cache_id'])){
    $form_state['redirect'] = array('node/' . $form_state['node']->nid . '/current-revision');
  }
}

Comments

anybody’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

Let's close this as duplicate and join efforts in #3111694: Do not override 'redirect' by hard on node form submit (also D8). There are many similar issues all based on this hook implementation. Thank you!