Skip to content

Commit

Permalink
Remove ¬ in person labels (RPB-102)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Nov 3, 2023
1 parent 4210dae commit 415eec8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/rppd-to-lobid.fix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ set_array("type[]", "AuthorityResource", "Person", "DifferentiatedPerson")

copy_field("f1na", "preferredName")
replace_all("preferredName", "\\/\\s(ca\\.|um)?-?\\s?\\d.+$", "")
replace_all("preferredName","¬","")
trim("preferredName")

# ------
Expand Down Expand Up @@ -205,6 +206,7 @@ do list(path:"f1nt[]", "var": "$i")
prepend("$i.f1nt", "https://rpb.lobid.org/dummi/")
copy_field("$i.f1nt", "relatedPerson[].$last.id")
end
replace_all("relatedPerson[].$last.label","¬","")
end


Expand Down

0 comments on commit 415eec8

Please sign in to comment.