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.tt (-2 / +1 lines)
Lines 255-261 function GetZ3950Terms(){ Link Here
255
255
256
function Changefwk(FwkList) {
256
function Changefwk(FwkList) {
257
	var fwk = FwkList.options[FwkList.selectedIndex].value;
257
	var fwk = FwkList.options[FwkList.selectedIndex].value;
258
 	window.location = "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumber %]&breedingid=[% breedingid %]&frameworkcode="+fwk;
258
 	window.location = "/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% biblionumberdata %]&op=[% op %]&breedingid=[% breedingid %]&mode=[% popup %]&frameworkcode="+fwk;
259
259
260
}
260
}
261
261
262
- 

Return to bug 6067