From ba9f70cb524a75f9a60ca5c6c837cf4be4d20436 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 --- 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 df39192297..fe9f9a38c9 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.39.5