#-------------------------------------------------------------------------------------
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 = "";
}
function Changefwk(FwkList) {
var fwk = FwkList.options[FwkList.selectedIndex].value;
- window.location = "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&breedingid=[% breedingid %]&frameworkcode="+fwk;
+ window.location = "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumberdata %]&op=[% op %]&breedingid=[% breedingid %]&mode=[% popup %]&frameworkcode="+fwk;
}