Bug 32437: (QA follow-up) Change to replace POD
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 3 Mar 2023 07:27:04 +0000 (07:27 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 31 Mar 2023 11:13:28 +0000 (13:13 +0200)
Making it more visible that this also applies to authority
records.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Import/Record.pm

index c85c533..ea238e6 100644 (file)
@@ -112,9 +112,10 @@ sub get_import_record_matches {
 
 =head3 replace
 
-Import the record to replace an existing record which is passed to this sub
+Replace an existing record ($auth or $biblio) with the import record.
 
-    $import_record->replace({ biblio => $biblio_object });
+    $import_record->replace({ biblio => $biblio | authority => $auth });
+    # where $biblio and $auth are Koha objects
 
 =cut