Bugzilla – Attachment 181847 Details for
Bug 39415
Add subfield g to Geographic name authority fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39415: Add subfield g for geographic name authorities
Bug-39415-Add-subfield-g-for-geographic-name-autho.patch (text/plain), 1.50 KB, created by
Matt Blenkinsop
on 2025-05-02 08:47:43 UTC
(
hide
)
Description:
Bug 39415: Add subfield g for geographic name authorities
Filename:
MIME Type:
Creator:
Matt Blenkinsop
Created:
2025-05-02 08:47:43 UTC
Size:
1.50 KB
patch
obsolete
>From 967c86325dee358c8584bd62f801ab0bb0a942a1 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 21 Mar 2025 17:35:34 +0000 >Subject: [PATCH] Bug 39415: Add subfield g for geographic name authorities > >This patch adds the subfield g to the hardcoded list of controlled fields >so that it is no longer ignored > >To test: >1 - Edit a GEOGR_NAME authority to add a g subfield to field 151 >2 - Search for this authority in Authorities >3 - Don't see g >4 - Apply patch, restart all >5 - Search again, you see g! >6 - Edit a record and link to the authority >7 - g is copied over! > >Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com> >Signed-off-by: Thomas Klausner <domm@plix.at> >Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> >Signed-off-by: Matt Blenkinsop <matt.blenkinsop@openfifth.co.uk> >--- > C4/Heading/MARC21.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/Heading/MARC21.pm b/C4/Heading/MARC21.pm >index df391922970..fe9f9a38c9c 100644 >--- a/C4/Heading/MARC21.pm >+++ b/C4/Heading/MARC21.pm >@@ -83,7 +83,7 @@ my $bib_heading_fields = { > }, > '151' => { > auth_type => 'GEOGR_NAME', >- subfields => 'avxyz68', >+ subfields => 'agvxyz68', > main_entry => 1 > }, > '155' => { >@@ -199,7 +199,7 @@ my $auth_heading_fields = { > }, > '151' => { > auth_type => 'GEOGR_NAME', >- subfields => 'avxyz68', >+ subfields => 'agvxyz68', > main_entry => 1 > }, > '155' => { >-- >2.48.1
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 39415
:
179629
|
180191
|
180350
|
180740
|
180803
|
180804
| 181847 |
181848