View | Details | Raw Unified | Return to bug 20447
Collapse All | Expand All

(-)a/cataloguing/addholding.pl (-2 / +3 lines)
Lines 618-624 if ($op eq 'add') { Link Here
618
    $record->set_marc({ record => $marc });
618
    $record->set_marc({ record => $marc });
619
    $record->store();
619
    $record->store();
620
620
621
    if ($redirect eq 'items' || ($mode ne 'popup' && !$holding_id && $redirect ne 'view' && $redirect ne 'just_save')) {
621
    $holding_id = $record->holding_id;
622
623
    if ($redirect eq 'items' || ($mode ne 'popup' && $redirect ne 'view' && $redirect ne 'just_save')) {
622
        print $input->redirect("/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber&searchid=$searchid");
624
        print $input->redirect("/cgi-bin/koha/catalogue/detail.pl?biblionumber=$biblionumber&searchid=$searchid");
623
        exit;
625
        exit;
624
    } elsif ($holding_id && $redirect eq 'view') {
626
    } elsif ($holding_id && $redirect eq 'view') {
625
- 

Return to bug 20447