Skip to content

Commit

Permalink
Avoid duplicate numbering in to-lobid transformation (RPB-256)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Feb 21, 2025
1 parent c485837 commit de22432
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conf/rpb-titel-to-lobid.fix
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ if any_equal("type", "Band")
copy_field("volumeIn.value", "isPartOf[].$last.hasSuperordinate[].$append.id")
copy_field("superordinateLabel", "isPartOf[].$last.hasSuperordinate[].$last.label")
if exists("tempNumbering")
paste("isPartOf[].$last.hasSuperordinate[].$last.label", "superordinateLabel", "~;", "tempNumbering")
unless all_match("superordinateLabel", ".+ ; .+")
paste("isPartOf[].$last.hasSuperordinate[].$last.label", "superordinateLabel", "~;", "tempNumbering")
end
end
copy_field("volumeIn.numbering", "isPartOf[].$last.numbering")
# disable after Allegro import until here ^
Expand Down

0 comments on commit de22432

Please sign in to comment.