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>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 38d552f4cb)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
Nick Clemens 2025-03-21 17:35:34 +00:00 committed by Paul Derscheid
parent 697a18d9c5
commit 11880e199e
No known key found for this signature in database
GPG Key ID: C25F9FD44CED595B
1 changed files with 2 additions and 2 deletions

View File

@ -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' => {