Create a new VBO view using path "my_vbo_view".

Open any page or story node and a link to the new VBO view (using PHP filter) ... something like this,

print l('click here to go to vbo view and do stuff', 'my_vbo_view', array('query' => 'destination='. request_uri()));

Once the vbo view performs it's operations it does NOT redirect back to the original "destination" node page.

Comments

dreed47’s picture

Sorry I didn't take the time to create a patch but for anyone interested, I resolved this issue by replacing line 536 in the views_bulk_operation.module with this line.

old line:

  $form_state['redirect'] = $_GET['q'];

new line:

  $form_state['redirect'] = $form_state['values']['exposed_input']['destination'] ? $form_state['values']['exposed_input']['destination'] : $_GET['q'];
infojunkie’s picture

Thanks for your report and fix I'll work on them soon.

infojunkie’s picture

Status: Active » Fixed

Committed to latest dev. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.