Bug 29260: 210a is reported to Autor (meeting/conference) when upgrading an authority...
authorMarion Durand <marion.durand@biblibre.com>
Fri, 10 Sep 2021 14:25:34 +0000 (16:25 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 6 Jun 2022 16:48:13 +0000 (13:48 -0300)
When upgrading an authority with Z39.50, the field 2XX is sent into the
research grid.

The field 210a is sent into the search field "Author
(meeting/conference)". Or a collective authority is more often a
corporation than and meeting so librarian has to copy and paste this
data. (In unimarc field 210a is used both for corporation and meeting.)

This patch makes 210a field be sent into the search field "Author
(corporate)" instead of the "Author (meeting/conference)" one.

1- Find an authority with collectivity type (with a field 210a).
2- Click on "Edit" then on "Edit record"
3- Click on "Replace record via Z39.50/SRU search"
4- See that the field 210 is reported in the search grid in "Author
(meeting/conference)" field
5- Apply the patch
6- Go throug step 1 to 3 again
7- See that the field 210 is now reported in the search grid in "Author
(corporate)" field

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
authorities/authorities.pl

index 1c2b3d0..e4063d9 100755 (executable)
@@ -322,7 +322,7 @@ sub GetMandatoryFieldZ3950 {
     }else{
         return {
             '200a' => 'authorpersonal',
-            '210a' => 'authormeetingcon', #210 in UNIMARC is used for both corporation and meeting
+            '210a' => 'authorcorp', #210 in UNIMARC is used for both corporation and meeting
             '230a' => 'uniformtitle',
         };
     }