Bugzilla – Attachment 183194 Details for
Bug 40119
Merge should not leave empty 6XX subfield $2 (MARC 21)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40119: (QA follow-up) Small additional comment
Bug-40119-QA-follow-up-Small-additional-comment.patch (text/plain), 1.16 KB, created by
Marcel de Rooy
on 2025-06-12 09:17:41 UTC
(
hide
)
Description:
Bug 40119: (QA follow-up) Small additional comment
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-06-12 09:17:41 UTC
Size:
1.16 KB
patch
obsolete
>From 0ea89f7d1873d79552b61bdc51e59f931f34dd85 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 12 Jun 2025 11:15:09 +0200 >Subject: [PATCH] Bug 40119: (QA follow-up) Small additional comment >Content-Type: text/plain; charset=utf-8 > >The reference to this bug report may be helpful to understand >later why we did so. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/AuthoritiesMarc.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index 4cbed9e95d..dfc0749861 100644 >--- a/C4/AuthoritiesMarc.pm >+++ b/C4/AuthoritiesMarc.pm >@@ -1749,7 +1749,8 @@ sub merge { > if ( exists $controlled_ind->{sub2} ) { # thesaurus info > if ( defined $controlled_ind->{sub2} ) { > >- # Add or replace >+ # Add or replace when not empty. If empty, an existing >+ # $2 value is retained (see also bug 40119). > if ( $controlled_ind->{sub2} ne q{} ) { > $field_to->update( 2 => $controlled_ind->{sub2} ); > } >-- >2.39.5
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 40119
:
183165
|
183166
|
183175
|
183176
|
183192
|
183193
| 183194