Skip to content

Commit

Permalink
Set url without http as label #2106
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Jan 14, 2025
1 parent 9cee215 commit 6ebdf7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/alma/fix/mediumAndType.fix
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@ if any_equal("natureOfContent[].*.label","Website")
do list(path: "856??", "var": "$i")
unless any_contain("$i.u", "edoweb")
copy_field("$i.u","webPageArchived[].$append.id")
copy_field("$i.u","webPageArchived[].$last.label")
replace_all("webPageArchived[].$last.label","http[s]?://(.*?)[/]?$","$1")
end
end
end
Expand Down

0 comments on commit 6ebdf7a

Please sign in to comment.