Bugzilla – Attachment 148274 Details for
Bug 32437
When adding to a basket form a staged file and matching the imported records are ignored when set to overwrite
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32437: (QA follow-up) Change to replace POD
Bug-32437-QA-follow-up-Change-to-replace-POD.patch (text/plain), 1011 bytes, created by
Nick Clemens (kidclamp)
on 2023-03-16 15:17:02 UTC
(
hide
)
Description:
Bug 32437: (QA follow-up) Change to replace POD
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-03-16 15:17:02 UTC
Size:
1011 bytes
patch
obsolete
>From 1fcf5143714a32e49b48fa0f02bf7e4cb9828823 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 3 Mar 2023 07:27:04 +0000 >Subject: [PATCH] Bug 32437: (QA follow-up) Change to replace POD > >Making it more visible that this also applies to authority >records. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > Koha/Import/Record.pm | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/Koha/Import/Record.pm b/Koha/Import/Record.pm >index c85c533d40..ea238e6254 100644 >--- a/Koha/Import/Record.pm >+++ b/Koha/Import/Record.pm >@@ -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 > >-- >2.30.2
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 32437
:
144538
|
144539
|
144540
|
144541
|
144573
|
144574
|
144575
|
144576
|
145223
|
145224
|
145225
|
145226
|
147677
|
147678
|
147679
|
147680
|
147681
|
148270
|
148271
|
148272
|
148273
|
148274
|
148275
|
148276
|
148277
|
148300
|
148301
|
148302
|
148303
|
148304
|
148305
|
148306