Skip to content

Commit

Permalink
Delete delete option #1848
Browse files Browse the repository at this point in the history
Workaround because of metafacture/metafacture-fix#321
  • Loading branch information
TobiasNx committed Sep 15, 2023
1 parent f96379c commit ed506b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/alma/fix/subjects.fix
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ do list(path:"084??", "var":"$i")
add_field("subject[].$last.source.id","https://bartoc.org/en/node/20049")
end
copy_field("$j","subject[].$last.label")
lookup("subject[].$last.label", "dnbSachgruppen", delete:"true")
lookup("subject[].$last.label", "dnbSachgruppen")
elsif any_match("$j","\\d{2}")
add_field("subject[].$last.source.label","Systematik der DNB (bis 2003)")
add_field("subject[].$last.source.id","https://bartoc.org/en/node/18497")
Expand Down
3 changes: 1 addition & 2 deletions src/test/resources/alma-fix/991005935279706485.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@
"source" : {
"label" : "Systematik der DNB (bis 2003)",
"id" : "https://bartoc.org/en/node/18497"
},
"label" : "280"
}
}, {
"notation" : "17",
"type" : [ "Concept" ],
Expand Down

0 comments on commit ed506b0

Please sign in to comment.