From 18aff2331c961c0bd3e9f5254eae1d291dec027e Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 26 Jul 2021 11:08:13 +0000 Subject: [PATCH] Bug 28758: (bug 17600 follow-up) Import subroutines from C4/AuthoritiesMarc To test: 1 - Stage authority records 2 - Attempt to import - nothing happnes 3 - Apply patch 4 - Stage file again 5 - IMport records 6 - Success! Signed-off-by: Jonathan Druart --- C4/ImportBatch.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm index 9a4978f8fc..db26883354 100644 --- a/C4/ImportBatch.pm +++ b/C4/ImportBatch.pm @@ -32,7 +32,7 @@ use C4::Biblio qw( ); use C4::Items qw( AddItemFromMarc ModItemFromMarc ); use C4::Charset qw( MarcToUTF8Record SetUTF8Flag StripNonXmlChars ); -use C4::AuthoritiesMarc; +use C4::AuthoritiesMarc qw( AddAuthority GuessAuthTypeCode ); use C4::MarcModificationTemplates qw( ModifyRecordWithTemplate ); use Koha::Items; use Koha::Plugins::Handler; -- 2.39.5