#-------------------------------------------------------------------------------------
if ( $op eq "addbiblio" ) {
#-------------------------------------------------------------------------------------
+ $template->param(
+ biblionumberdata => $biblionumber,
+ );
# getting html input
my @params = $input->param();
$record = TransformHtmlToMarc( \@params , $input );
#----------------------------------------------------------------------------
# If we're in a duplication case, we have to set to "" the biblionumber
# as we'll save the biblio as a new one.
+ $template->param(
+ biblionumberdata => $biblionumber,
+ op => $op,
+ );
if ( $op eq "duplicate" ) {
$biblionumber = "";
}
if (C4::Context->preference("marcflavour") eq "MARC21"){
$template->param(MARC21 => 1);
}
+
+
$template->param(
popup => $mode,
frameworkcode => $frameworkcode,
itemtype => $frameworkcode,
+ borrowernumber => $loggedinuser
);
output_html_with_http_headers $input, $cookie, $template->output;