Bugzilla – Attachment 160485 Details for
Bug 29440
Refactor/clean up bulkmarcimport.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29440: Replace removed syspref BiblioAddsAuthorities with AutoLinkBiblios
Bug-29440-Replace-removed-syspref-BiblioAddsAuthor.patch (text/plain), 1.90 KB, created by
Martin Renvoize (ashimema)
on 2024-01-03 16:25:30 UTC
(
hide
)
Description:
Bug 29440: Replace removed syspref BiblioAddsAuthorities with AutoLinkBiblios
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-01-03 16:25:30 UTC
Size:
1.90 KB
patch
obsolete
>From daa6afa423acacf2cf50b0503909a693edd22da2 Mon Sep 17 00:00:00 2001 >From: David Gustafsson <david.gustafsson@ub.gu.se> >Date: Mon, 7 Nov 2022 17:56:23 +0100 >Subject: [PATCH] Bug 29440: Replace removed syspref BiblioAddsAuthorities with > AutoLinkBiblios >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >Signed-off-by: MichaĆ Kula <148193449+mkibp@users.noreply.github.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > C4/Biblio.pm | 2 +- > misc/migration_tools/bulkmarcimport.pl | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index da8c7ff263a..423b6fcfe5e 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -293,7 +293,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 ); > } > >diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl >index 417b6b27c6f..06e074a9a3d 100755 >--- a/misc/migration_tools/bulkmarcimport.pl >+++ b/misc/migration_tools/bulkmarcimport.pl >@@ -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); > } >-- >2.43.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29440
:
127479
|
127480
|
127481
|
127485
|
127486
|
127508
|
127509
|
127651
|
127652
|
127791
|
127792
|
127795
|
127796
|
127959
|
127960
|
127961
|
127963
|
128086
|
128087
|
128362
|
128890
|
128891
|
131176
|
131177
|
131180
|
131181
|
132942
|
140822
|
140823
|
140903
|
140904
|
140905
|
140906
|
140924
|
140925
|
140926
|
140927
|
140928
|
140987
|
140988
|
140989
|
143375
|
151293
|
151294
|
151295
|
151296
|
151297
|
151298
|
151299
|
151300
|
151301
|
157798
|
160148
|
160149
|
160150
|
160151
|
160152
|
160153
|
160154
|
160155
|
160156
|
160157
|
160477
|
160478
|
160479
|
160480
|
160481
|
160482
|
160483
|
160484
| 160485 |
160486
|
160487