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

(-)a/cataloguing/addbiblio.pl (-1 / +5 lines)
Lines 739-744 if ($frameworkcode eq 'FA'){ Link Here
739
    $userflags = 'fast_cataloging';
739
    $userflags = 'fast_cataloging';
740
}
740
}
741
741
742
my $changed_framework = $input->param('changed_framework');
742
$frameworkcode = &GetFrameworkCode($biblionumber)
743
$frameworkcode = &GetFrameworkCode($biblionumber)
743
  if ( $biblionumber and not($frameworkcode) and $op ne 'addbiblio' );
744
  if ( $biblionumber and not($frameworkcode) and $op ne 'addbiblio' );
744
745
Lines 963-969 elsif ( $op eq "delete" ) { Link Here
963
        $biblionumber = "";
964
        $biblionumber = "";
964
    }
965
    }
965
966
966
    if ( $record ne -1 ) {
967
    if($changed_framework eq "changed"){
968
        $record = TransformHtmlToMarc( $input );
969
    }
970
    elsif( $record ne -1 ) {
967
#FIXME: it's kind of silly to go from MARC::Record to MARC::File::XML and then back again just to fix the encoding
971
#FIXME: it's kind of silly to go from MARC::Record to MARC::File::XML and then back again just to fix the encoding
968
        eval {
972
        eval {
969
            my $uxml = $record->as_xml;
973
            my $uxml = $record->as_xml;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +4 lines)
Lines 293-299 function GetZ3950Terms(){ Link Here
293
293
294
function Changefwk(FwkList) {
294
function Changefwk(FwkList) {
295
    var f = document.f;
295
    var f = document.f;
296
    f.op.value = "";
296
    f.op.value = "[% op %]";
297
    f.biblionumber.value = "[% biblionumberdata %]";
298
    f.changed_framework.value = "changed";
297
    f.submit();
299
    f.submit();
298
}
300
}
299
301
Lines 435-440 function Changefwk(FwkList) { Link Here
435
        <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
437
        <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
436
        <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
438
        <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
437
        <input type="hidden" name="breedingid" value="[% breedingid %]" />
439
        <input type="hidden" name="breedingid" value="[% breedingid %]" />
440
        <input type="hidden" name="changed_framework" value="" />
438
441
439
<div id="addbibliotabs" class="toptabs numbered">
442
<div id="addbibliotabs" class="toptabs numbered">
440
    <ul>
443
    <ul>
441
- 

Return to bug 10448