Bugzilla – Attachment 141038 Details for
Bug 30024
link_bibs_to_authorities.pl relies on CatalogModuleRelink
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30024: Make link_bibs_to_authorities.pl rely on LinkerRelink
Bug-30024-Make-linkbibstoauthoritiespl-rely-on-Lin.patch (text/plain), 1.89 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-09-27 19:18:47 UTC
(
hide
)
Description:
Bug 30024: Make link_bibs_to_authorities.pl rely on LinkerRelink
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-09-27 19:18:47 UTC
Size:
1.89 KB
patch
obsolete
>From 78e05af5465d64d66c20f6dbd49d260142887b14 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 27 Sep 2022 16:10:51 -0300 >Subject: [PATCH] Bug 30024: Make link_bibs_to_authorities.pl rely on > LinkerRelink > >This patch makes the trivial change of making the linker script rely on >LinkerRelink instead of CatalogModuleRelink, which is confusing and >incorrect (according to both sysprefs descriptions). > >To test: >1. Verify that relinking is now tied to the right syspref > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > misc/link_bibs_to_authorities.pl | 20 +++++++++++++++++--- > 1 file changed, 17 insertions(+), 3 deletions(-) > >diff --git a/misc/link_bibs_to_authorities.pl b/misc/link_bibs_to_authorities.pl >index 9a095454cb..8b8cf5c013 100755 >--- a/misc/link_bibs_to_authorities.pl >+++ b/misc/link_bibs_to_authorities.pl >@@ -1,7 +1,21 @@ > #!/usr/bin/perl > >-use strict; >-use warnings; >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it >+# under the terms of the GNU General Public License as published by >+# the Free Software Foundation; either version 3 of the License, or >+# (at your option) any later version. >+# >+# Koha is distributed in the hope that it will be useful, but >+# WITHOUT ANY WARRANTY; without even the implied warranty of >+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the >+# GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License >+# along with Koha; if not, see <http://www.gnu.org/licenses>. >+ >+use Modern::Perl; > > use Koha::Script; > use C4::Context; >@@ -33,7 +47,7 @@ my $auth_limit; > my $bib_limit; > my $commit = 100; > my $tagtolink; >-my $allowrelink = C4::Context->preference("CatalogModuleRelink") || ''; >+my $allowrelink = C4::Context->preference("LinkerRelink") // ''; > > my $result = GetOptions( > 'v|verbose' => \$verbose, >-- >2.37.3
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 30024
:
141038
|
150780
|
158354