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 962-968 elsif ( $op eq "delete" ) { Link Here
962
        $biblionumber = "";
963
        $biblionumber = "";
963
    }
964
    }
964
965
965
    if ( $record ne -1 ) {
966
    if($changed_framework eq "changed"){
967
        $record = TransformHtmlToMarc( $input );
968
    }
969
    elsif( $record ne -1 ) {
966
#FIXME: it's kind of silly to go from MARC::Record to MARC::File::XML and then back again just to fix the encoding
970
#FIXME: it's kind of silly to go from MARC::Record to MARC::File::XML and then back again just to fix the encoding
967
        eval {
971
        eval {
968
            my $uxml = $record->as_xml;
972
            my $uxml = $record->as_xml;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +4 lines)
Lines 286-292 function GetZ3950Terms(){ Link Here
286
286
287
function Changefwk(FwkList) {
287
function Changefwk(FwkList) {
288
    var f = document.f;
288
    var f = document.f;
289
    f.op.value = "";
289
    f.op.value = "[% op %]";
290
    f.biblionumber.value = "[% biblionumberdata %]";
291
    f.changed_framework.value = "changed";
290
    f.submit();
292
    f.submit();
291
}
293
}
292
294
Lines 427-432 function Changefwk(FwkList) { Link Here
427
        <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
429
        <input type="hidden" name="frameworkcode" value="[% frameworkcode %]" />
428
        <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
430
        <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
429
        <input type="hidden" name="breedingid" value="[% breedingid %]" />
431
        <input type="hidden" name="breedingid" value="[% breedingid %]" />
432
        <input type="hidden" name="changed_framework" value="" />
430
433
431
<div id="addbibliotabs" class="toptabs numbered">
434
<div id="addbibliotabs" class="toptabs numbered">
432
    <ul>
435
    <ul>
433
- 

Return to bug 10448