Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
my $linker = $linker_module->new(
{ 'options' => C4::Context->preference("LinkerOptions") } );
my ( $headings_changed, $results ) =
my $linker = $linker_module->new(
{ 'options' => C4::Context->preference("LinkerOptions") } );
my ( $headings_changed, $results ) =
- LinkBibHeadingsToAuthorities( $linker, $record, $frameworkcode, C4::Context->preference("CatalogModuleRelink") || '', $verbose );
+ LinkBibHeadingsToAuthorities( $linker, $record, $frameworkcode, C4::Context->preference("CatalogModuleRelink") || '', undef, $verbose );
# By default we probably don't want to relink things when cataloging
return $headings_changed, $results;
}
=head2 LinkBibHeadingsToAuthorities
# By default we probably don't want to relink things when cataloging
return $headings_changed, $results;
}
=head2 LinkBibHeadingsToAuthorities
- my $num_headings_changed, %results = LinkBibHeadingsToAuthorities($linker, $marc, $frameworkcode, [$allowrelink, $verbose]);
+ my $num_headings_changed, %results = LinkBibHeadingsToAuthorities($linker, $marc, $frameworkcode, [$allowrelink, $tagtolink, $verbose]);
Links bib headings to authority records by checking
each authority-controlled field in the C<MARC::Record>
Links bib headings to authority records by checking
each authority-controlled field in the C<MARC::Record>
var tag_subfield_line = $('.subfield_line[id^=subfield' + heading.tag + '9]').eq(tag_index);
if( tag_subfield_line.length < 1 ){ return; }
var tag_subfield_line = $('.subfield_line[id^=subfield' + heading.tag + '9]').eq(tag_index);
if( tag_subfield_line.length < 1 ){ return; }
- var subfield = tag_subfield_line.children('.input_marceditor').eq(0);
+ var subfield = tag_subfield_line.find('.input_marceditor').eq(0);
// Delete the old status if one exists
tag_subfield_line.children('.subfield_status').remove();
// Delete the old status if one exists
tag_subfield_line.children('.subfield_status').remove();