Hi,

I think that providing a path exposed in the batch config to establish which is the url to return after the process is done would be useful, attaching a patch for this.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pcambra’s picture

Status: Active » Needs review
FileSize
1.88 KB
johnv’s picture

Status: Needs review » Needs work
FileSize
2.18 KB

This is a nice solution!
The patch did not apply with git, so a new one is attached.

For me, the patch is RBTC, but it lacks 1 feature:
ATM the patch only receives one hard URL, which means it is not suited it the VDE-button is attached to multiple displays. An extra option like '

' would be nice. It would take the current path as the return URL. Marked #1009522: Error after showing VDE-page and hitting browser's left-arrow to return to previous page. as a duplicate of this one.
johnv’s picture

Status: Needs work » Needs review
FileSize
2.27 KB

Attached patch is rerolled against latest -dev.
Older patch was not working anymore due to changed values in 'use-batch'-parameter.

My comment in #2 ( "not suited when attached to multiple displays") is not true. It works fine.

micnap’s picture

Applied cleanly and is working. Took me a moment to realized that I had to clean out the views data export cache.

Mickey

Steven Jones’s picture

Status: Needs review » Fixed

Thanks so much for the patch. Committed to 7.x-3.x.

Status: Fixed » Closed (fixed)

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