Lines 568-574
if ($biblionumber) {
Link Here
|
568 |
} |
568 |
} |
569 |
} |
569 |
} |
570 |
|
570 |
|
571 |
if ($frameworkcode eq 'FA' || $is_fast_add){ |
571 |
if ( $frameworkcode eq 'FA' || $is_fast_add ){ |
572 |
# We need to grab and set some variables in the template for use on the additems screen |
572 |
# We need to grab and set some variables in the template for use on the additems screen |
573 |
$template->param( |
573 |
$template->param( |
574 |
'circborrowernumber' => $fa_circborrowernumber, |
574 |
'circborrowernumber' => $fa_circborrowernumber, |
Lines 722-728
if ( $op eq "cud-addbiblio" ) {
Link Here
|
722 |
( $biblionumber, $oldbibitemnum ) = AddBiblio( $record, $frameworkcode ); |
722 |
( $biblionumber, $oldbibitemnum ) = AddBiblio( $record, $frameworkcode ); |
723 |
} |
723 |
} |
724 |
if ($redirect eq "items" || ($mode ne "popup" && !$is_a_modif && $redirect ne "view" && $redirect ne "just_save")){ |
724 |
if ($redirect eq "items" || ($mode ne "popup" && !$is_a_modif && $redirect ne "view" && $redirect ne "just_save")){ |
725 |
if ($frameworkcode eq 'FA' || $is_fast_add){ |
725 |
if ( $frameworkcode eq 'FA' || $is_fast_add ){ |
726 |
print $input->redirect( |
726 |
print $input->redirect( |
727 |
'/cgi-bin/koha/cataloguing/additem.pl?' |
727 |
'/cgi-bin/koha/cataloguing/additem.pl?' |
728 |
.'biblionumber='.$biblionumber |
728 |
.'biblionumber='.$biblionumber |
Lines 860-871
if ( $record ne '-1' ) {
Link Here
|
860 |
$template->param( title => $title ); |
860 |
$template->param( title => $title ); |
861 |
} |
861 |
} |
862 |
$template->param( |
862 |
$template->param( |
863 |
popup => $mode, |
863 |
popup => $mode, |
864 |
frameworkcode => $frameworkcode, |
864 |
frameworkcode => $frameworkcode, |
865 |
is_fast_add => $is_fast_add, |
865 |
is_fast_add => $is_fast_add, |
866 |
itemtype => $frameworkcode, |
866 |
itemtype => $frameworkcode, |
867 |
borrowernumber => $loggedinuser, |
867 |
borrowernumber => $loggedinuser, |
868 |
tab => scalar $input->param('tab') |
868 |
tab => scalar $input->param('tab') |
869 |
); |
869 |
); |
870 |
$template->{'VARS'}->{'searchid'} = $searchid; |
870 |
$template->{'VARS'}->{'searchid'} = $searchid; |
871 |
|
871 |
|