Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change publishedBy for secondaryPublicationEvent to array #2011 #2028

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/main/resources/alma/fix/titleRelatedFields.fix
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@ do list(path:"533 ", "var": "$i")
end
set_array("publication[].$last.description[]")
copy_field("$i.a", "publication[].$last.description[].$append")
copy_field("$i.c", "publication[].$last.publishedBy")
set_array("publication[].$last.publishedBy[]")
copy_field("$i.c", "publication[].$last.publishedBy[].$append")
do list(path: "$i.d", "var":"$j")
replace_all("$j", "\\[|\\]|ca. |c ", "")
unless exists("publication[].$last.startDate")
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990035016180206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"type" : [ "SecondaryPublicationEvent" ],
"location" : [ "München [u.a.]" ],
"description" : [ "Mikrofiche-Ausg.:" ],
"publishedBy" : "Saur",
"publishedBy" : [ "Saur" ],
"startDate" : "1990",
"endDate" : "1994"
} ],
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990054089950206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"type" : [ "SecondaryPublicationEvent" ],
"location" : [ "Hamburg", "Wohltorf", "Berlin", "Woodbridge, Conn.", "Dortmund" ],
"description" : [ "Mikrofiche-Ausg." ],
"publishedBy" : "Mikrofilmarchiv der Deutschsprachigen Presse e. V., MFA"
"publishedBy" : [ "Alphacom", "IOS-Echo-GmbH", "ADN", "Primary Source Media", "Mikrofilmarchiv der Deutschsprachigen Presse e. V., MFA" ]
} ],
"shortTitle" : [ "Spiegel", "SPILB" ],
"describedBy" : {
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990104908070206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"type" : [ "SecondaryPublicationEvent" ],
"location" : [ "Buffalo, NY" ],
"description" : [ "Mikrofiche-Ausg." ],
"publishedBy" : "Hein"
"publishedBy" : [ "Hein" ]
} ],
"describedBy" : {
"id" : "http://lobid.org/resources/990104908070206441",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990118562160206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"type" : [ "SecondaryPublicationEvent" ],
"location" : [ "Köln" ],
"description" : [ "Mikrofiche-Ausg." ],
"publishedBy" : "Bundesanzeiger",
"publishedBy" : [ "Bundesanzeiger" ],
"startDate" : "2002"
} ],
"describedBy" : {
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990196925330206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"type" : [ "SecondaryPublicationEvent" ],
"location" : [ "New Canaan, Conn." ],
"description" : [ "Mikrofilmausg." ],
"publishedBy" : "Readex"
"publishedBy" : [ "Readex" ]
} ],
"describedBy" : {
"id" : "http://lobid.org/resources/990196925330206441",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990197023370206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"type" : [ "SecondaryPublicationEvent" ],
"location" : [ "Berlin" ],
"description" : [ "Digital. Ausg." ],
"publishedBy" : "Staatsbibliothek zu Berlin"
"publishedBy" : [ "Staatsbibliothek zu Berlin" ]
} ],
"describedBy" : {
"id" : "http://lobid.org/resources/990197023370206441",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990197067610206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"type" : [ "SecondaryPublicationEvent" ],
"location" : [ "Düsseldorf" ],
"description" : [ "Digitalisierte Ausg." ],
"publishedBy" : "Universitäts- und Landesbibliothek",
"publishedBy" : [ "Universitäts- und Landesbibliothek" ],
"startDate" : "2013"
} ],
"titleKeyword" : [ "Köln", "Sankt" ],
Expand Down
Loading