Bug 29440: Replace removed syspref BiblioAddsAuthorities with AutoLinkBiblios
Signed-off-by: Michał Kula <148193449+mkibp@users.noreply.github.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
6b92516214
commit
188ea40db1
|
|
@ -292,7 +292,7 @@ sub AddBiblio {
|
|||
# update MARC subfield that stores biblioitems.cn_sort
|
||||
_koha_marc_update_biblioitem_cn_sort( $record, $olddata, $frameworkcode );
|
||||
|
||||
if (!$disable_autolink && C4::Context->preference('BiblioAddsAuthorities')) {
|
||||
if (!$disable_autolink && C4::Context->preference('AutoLinkBiblios')) {
|
||||
BiblioAutoLink( $record, $frameworkcode );
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -647,7 +647,7 @@ RECORD: foreach my $record (@{$marc_records}) {
|
|||
$schema->txn_begin;
|
||||
if ($indexer) {
|
||||
$indexer->update_index(\@search_engine_record_ids, \@search_engine_records);
|
||||
if (C4::Context->preference('BiblioAddsAuthorities')) {
|
||||
if (C4::Context->preference('AutoLinkBiblios')) {
|
||||
foreach my $record (@search_engine_records) {
|
||||
BiblioAutoLink($record, $framework);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue