Skip to content

Commit

Permalink
Create record list where field 773 doesn't start with DE-605 o. DE-600
Browse files Browse the repository at this point in the history
  • Loading branch information
Petra Maier committed Jul 15, 2024
1 parent 3e4d466 commit 904b698
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/resources/alma/fix/relatedRessourcesAndLinks.fix
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ unless any_match("leader", "^.{7}[ad].*")
set_hash( "isPartOf[].$last.hasSuperordinate[].$append")
if all_match("$j", "^\\((?:DE-600|DE-605)\\)(.*)$")
copy_field("$j", "isPartOf[].$last.hasSuperordinate[].$last.id")

else
retain("almaMmsId")
print_record(destination: "almaMMSIDs_with_erroneous773_w.txt")
end
copy_field("$i.t", "isPartOf[].$last.hasSuperordinate[].$last.label")
call_macro("alternateGraphicRepresationIsPartOf",variable:"$i")
Expand Down

0 comments on commit 904b698

Please sign in to comment.