From 11880e199e8696a8dee894e62ba0c63300926fa4 Mon Sep 17 00:00:00 2001 From: Nick Clemens 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 Signed-off-by: Thomas Klausner Signed-off-by: Phil Ringnalda Signed-off-by: Matt Blenkinsop Signed-off-by: Katrin Fischer (cherry picked from commit 38d552f4cb1d31e5305868d7d75f87bd774d775c) Signed-off-by: Paul Derscheid --- 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 40a0d15199..1a4cfc3055 100644 --- a/C4/Heading/MARC21.pm +++ b/C4/Heading/MARC21.pm @@ -84,7 +84,7 @@ my $bib_heading_fields = { }, '151' => { auth_type => 'GEOGR_NAME', - subfields => 'avxyz68', + subfields => 'agvxyz68', main_entry => 1 }, '155' => { @@ -202,7 +202,7 @@ my $auth_heading_fields = { }, '151' => { auth_type => 'GEOGR_NAME', - subfields => 'avxyz68', + subfields => 'agvxyz68', main_entry => 1 }, '155' => {