Skip to content

Commit

Permalink
Add subtitles to sublements #1994
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed May 16, 2024
1 parent e4b0ca3 commit 0c746fc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/alma/fix/relatedRessourcesAndLinks.fix
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ do list(path:"77008", "var":"$i")
do list(path:"$i.i","var":"$j")
copy_field("$j","supplement[].$last.note[].$append")
end
copy_field("$i.t","supplement[].$last.label")
paste("supplement[].$last.label","$i.t","$i.b",join_char:". ")
do list(path:"$i.w","var": "$j")
if all_match("$j","^\\((?:DE-600|DE-605)\\)(.*)$")
copy_field("$j","supplement[].$last.id")
Expand Down
8 changes: 4 additions & 4 deletions src/test/resources/alma-fix/990054089950206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,19 @@
"id" : "http://lobid.org/resources/ZDB-2840235-2#!"
}, {
"note" : [ "Supplement" ],
"label" : "Starkes Land",
"label" : "Starkes Land. Baden-Württemberg",
"id" : "http://lobid.org/resources/ZDB-2907832-5#!"
}, {
"note" : [ "Supplement" ],
"label" : "Starkes Land",
"label" : "Starkes Land. Hessen",
"id" : "http://lobid.org/resources/ZDB-2900172-9#!"
}, {
"note" : [ "Supplement" ],
"label" : "Starkes Land",
"label" : "Starkes Land. Österreich",
"id" : "http://lobid.org/resources/ZDB-3049164-2#!"
}, {
"note" : [ "Supplement" ],
"label" : "Der Spiegel",
"label" : "Der Spiegel. Edition Geschichte",
"id" : "http://lobid.org/resources/ZDB-2857424-2#!"
}, {
"note" : [ "Supplement" ],
Expand Down

0 comments on commit 0c746fc

Please sign in to comment.