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

(-)a/C4/Biblio.pm (-2 / +2 lines)
Lines 518-531 sub BiblioAutoLink { Link Here
518
    my $linker = $linker_module->new(
518
    my $linker = $linker_module->new(
519
        { 'options' => C4::Context->preference("LinkerOptions") } );
519
        { 'options' => C4::Context->preference("LinkerOptions") } );
520
    my ( $headings_changed, $results ) =
520
    my ( $headings_changed, $results ) =
521
      LinkBibHeadingsToAuthorities( $linker, $record, $frameworkcode, C4::Context->preference("CatalogModuleRelink") || '', $verbose );
521
      LinkBibHeadingsToAuthorities( $linker, $record, $frameworkcode, C4::Context->preference("CatalogModuleRelink") || '', undef, $verbose );
522
    # By default we probably don't want to relink things when cataloging
522
    # By default we probably don't want to relink things when cataloging
523
    return $headings_changed, $results;
523
    return $headings_changed, $results;
524
}
524
}
525
525
526
=head2 LinkBibHeadingsToAuthorities
526
=head2 LinkBibHeadingsToAuthorities
527
527
528
  my $num_headings_changed, %results = LinkBibHeadingsToAuthorities($linker, $marc, $frameworkcode, [$allowrelink, $verbose]);
528
  my $num_headings_changed, %results = LinkBibHeadingsToAuthorities($linker, $marc, $frameworkcode, [$allowrelink, $tagtolink,  $verbose]);
529
529
530
Links bib headings to authority records by checking
530
Links bib headings to authority records by checking
531
each authority-controlled field in the C<MARC::Record>
531
each authority-controlled field in the C<MARC::Record>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tt (-2 / +1 lines)
Lines 266-272 function updateHeadingLinks(links) { Link Here
266
        var tag_subfield_line = $('.subfield_line[id^=subfield' + heading.tag + '9]').eq(tag_index);
266
        var tag_subfield_line = $('.subfield_line[id^=subfield' + heading.tag + '9]').eq(tag_index);
267
        if( tag_subfield_line.length < 1 ){ return; }
267
        if( tag_subfield_line.length < 1 ){ return; }
268
268
269
        var subfield = tag_subfield_line.children('.input_marceditor').eq(0);
269
        var subfield = tag_subfield_line.find('.input_marceditor').eq(0);
270
270
271
        // Delete the old status if one exists
271
        // Delete the old status if one exists
272
        tag_subfield_line.children('.subfield_status').remove();
272
        tag_subfield_line.children('.subfield_status').remove();
273
- 

Return to bug 11299