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

(-)a/cataloguing/addbiblio.pl (+7 lines)
Lines 913-918 if ($biblionumber) { Link Here
913
#-------------------------------------------------------------------------------------
913
#-------------------------------------------------------------------------------------
914
if ( $op eq "addbiblio" ) {
914
if ( $op eq "addbiblio" ) {
915
#-------------------------------------------------------------------------------------
915
#-------------------------------------------------------------------------------------
916
    $template->param(
917
        biblionumberdata => $biblionumber,
918
    );    
916
    # getting html input
919
    # getting html input
917
    my @params = $input->param();
920
    my @params = $input->param();
918
    $record = TransformHtmlToMarc( \@params , $input );
921
    $record = TransformHtmlToMarc( \@params , $input );
Lines 996-1001 elsif ( $op eq "delete" ) { Link Here
996
   #----------------------------------------------------------------------------
999
   #----------------------------------------------------------------------------
997
   # If we're in a duplication case, we have to set to "" the biblionumber
1000
   # If we're in a duplication case, we have to set to "" the biblionumber
998
   # as we'll save the biblio as a new one.
1001
   # as we'll save the biblio as a new one.
1002
    $template->param(
1003
        biblionumberdata => $biblionumber,
1004
        op               => $op,
1005
    );
999
    if ( $op eq "duplicate" ) {
1006
    if ( $op eq "duplicate" ) {
1000
        $biblionumber = "";
1007
        $biblionumber = "";
1001
    }
1008
    }
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl (-2 / +1 lines)
Lines 231-237 function GetZ3950Terms(){ Link Here
231
231
232
function Changefwk(FwkList) {
232
function Changefwk(FwkList) {
233
	var fwk = FwkList.options[FwkList.selectedIndex].value;
233
	var fwk = FwkList.options[FwkList.selectedIndex].value;
234
 	window.location = "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!--TMPL_VAR Name="biblionumber"-->&breedingid=<!-- TMPL_VAR name="breedingid" -->&frameworkcode="+fwk;
234
 	window.location = "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumberdata" -->&op=<!-- TMPL_VAR NAME="op" -->&breedingid=<!-- TMPL_VAR NAME="breedingid" -->&mode=<!-- TMPL_VAR NAME="popup" -->&frameworkcode="+fwk;
235
235
236
}
236
}
237
237
238
- 

Return to bug 6067