From 86cf8059dd223fae699cd87d775b61a56ec4d1c2 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! --- 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.20.1