Hi,
I'm not sure if you really want to go back to the publication list after doing some bibtex import (because without batch it stays on the import site). But in either case the redirect is wrong as it is hardcoded to 'biblio'. I should either bei

function biblio_import_form_submit($form, & $form_state) {
...
  $base = variable_get('biblio_base', 'biblio');
  // only needed if not inside a form _submit handler :
  batch_process($base);
..

or

  batch_process(NULL);

Not attaching a patch because I'm not sure where you want to go :-)

Comments

rjerome’s picture

Good catch! Fixed, it now goes back to the import form which is the same as what happens if you don't use batch importing.

Ron.

rjerome’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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