Skip to content

Commit

Permalink
Change to manufacturedBy property #1806
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Sep 21, 2023
1 parent c21ff26 commit 8e3d3dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/main/resources/alma/fix/macros.fix
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,8 @@ do put_macro("manufacture")
set_array("manufacture[].$last.type[]","Event")
set_array("manufacture[].$last.location[]")
copy_field("$i.a", "manufacture[].$last.location[].$append")
set_array("manufacture[].$last.publishedBy[]")
copy_field("$i.b", "manufacture[].$last.publishedBy[].$append")
set_array("manufacture[].$last.manufacturedBy[]")
copy_field("$i.b", "manufacture[].$last.manufacturedBy[].$append")
if exists("$i.6")
copy_field("$i.6","$i.linkageTest")
do list(path:"880??","var":"$880")
Expand All @@ -414,8 +414,8 @@ do put_macro("manufacture")
add_field ("$AGR.record.manufacture[].$append.dummi","")
set_array("$AGR.record.manufacture[].$last.location[]")
copy_field("$880.a", "$AGR.record.manufacture[].$last.location[].$append")
set_array("$AGR.record.manufacture[].$last.publishedBy[]")
copy_field("$880.b", "$AGR.record.manufacture[].$last.publishedBy[].$append")
set_array("$AGR.record.manufacture[].$last.manufacturedBy[]")
copy_field("$880.b", "$AGR.record.manufacture[].$last.manufacturedBy[].$append")
end
end
else
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990183958380206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"startDate" : "2010",
"type" : [ "Event" ],
"location" : [ "Marsberg" ],
"publishedBy" : [ "Boxberger" ]
"manufacturedBy" : [ "Boxberger" ]
} ],
"describedBy" : {
"id" : "http://lobid.org/resources/990183958380206441",
Expand Down

0 comments on commit 8e3d3dc

Please sign in to comment.