Skip to content

Commit

Permalink
Fix forgotten change in property name #1888
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Sep 28, 2023
1 parent 5599f3d commit dca4580
Show file tree
Hide file tree
Showing 17 changed files with 25 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/alma/fix/item.fix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ do list(path:"ITM ", "var": "$i")
copy_field("$i.@iz","hasItem[].$last.heldBy.isil")
end
call_macro("opacLink", field:"@sublibraryIsil")
unless exists("hasItem[].$last.opacLink")
unless exists("hasItem[].$last.seeAlso[].1")
call_macro("opacLink", field:"@iz")
end
paste("hasItem[].$last.heldBy.id", "~http://lobid.org/organisations/", "hasItem[].$last.heldBy.isil", "~#!", join_char:"")
Expand Down Expand Up @@ -79,7 +79,7 @@ do list(path: "HOL ", "var": "$i")
copy_field("$i.@iz", "hasItem[].$last.heldBy.isil")
end
call_macro("opacLink", field:"@sublibraryIsil")
unless exists("hasItem[].$last.seeAlso[]")
unless exists("hasItem[].$last.seeAlso[].1")
call_macro("opacLink", field:"@iz")
end
paste("hasItem[].$last.heldBy.id", "~http://lobid.org/organisations/", "hasItem[].$last.heldBy.isil", "~#!", join_char:"")
Expand Down
3 changes: 2 additions & 1 deletion src/test/resources/alma-fix/990016782920206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
"id" : "http://lobid.org/organisations/DE-575#!",
"label" : "Hochschule für Musik Detmold, Bibliothek"
},
"seeAlso" : [ "https://www.dshs-koeln.de/aleph/F?func=item-cen-2&doc_library=MHD01&doc_001_number=HT004285445&local_base=MHD01" ],
"id" : "http://lobid.org/items/990016782920206441:DE-575:2393551510006480#!"
}, {
"label" : "lobid Bestandsressource",
Expand All @@ -120,7 +121,7 @@
"id" : "http://lobid.org/organisations/DE-107#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Pfälzische Landesbibliothek"
},
"seeAlso" : [ "http://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Language=De&Query=010%3D%22HT004285445%22&selectedViewBranchlib=0" ],
"seeAlso" : [ "https://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Query=0010=%22HT004285445%22" ],
"id" : "http://lobid.org/items/990016782920206441:DE-107:237988430007506#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma-fix/990026405480206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"id" : "http://lobid.org/organisations/DE-Zw1#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Bibliotheca Bipontina"
},
"seeAlso" : [ "http://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Language=De&Query=010%3D%22HT006813395%22&selectedViewBranchlib=0" ],
"seeAlso" : [ "http://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Language=De&Query=010%3D%22HT006813395%22&selectedViewBranchlib=2" ],
"id" : "http://lobid.org/items/990026405480206441:DE-Zw1:2310230370007506#!"
}, {
"label" : "lobid Bestandsressource",
Expand All @@ -144,7 +144,7 @@
"id" : "http://lobid.org/organisations/DE-Zw1#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Bibliotheca Bipontina"
},
"seeAlso" : [ "http://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Language=De&Query=010%3D%22HT006813395%22&selectedViewBranchlib=0" ],
"seeAlso" : [ "http://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Language=De&Query=010%3D%22HT006813395%22&selectedViewBranchlib=2" ],
"id" : "http://lobid.org/items/990026405480206441:DE-Zw1:2310230380007506#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990050000600206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"id" : "http://lobid.org/organisations/DE-Lan1#!",
"label" : "Universitätsbibliothek der RPTU in Landau"
},
"seeAlso" : [ "https://opac.ub.uni-kl.de/F?func=item-cen-2&doc_library=KLU01&doc_001_number=HT006855611" ],
"seeAlso" : [ "http://aleph1.uni-koblenz.de/F/?func=find-b&request=HT006855611&find_code=IDN&adjacent=N&local_base=KOL01&x=45&y=11&filter_code_2=WYR&filter_request_2=" ],
"id" : "http://lobid.org/items/990050000600206441:DE-Lan1:2365786130007476#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990053976760206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@
"id" : "http://lobid.org/organisations/DE-Lan1#!",
"label" : "Universitätsbibliothek der RPTU in Landau"
},
"seeAlso" : [ "http://aleph1.uni-koblenz.de/F/?func=find-b&request=00319244&find_code=ISN&adjacent=N&local_base=KOL01&x=45&y=11&filter_code_2=WYR&filter_request_2=" ],
"id" : "http://lobid.org/items/990053976760206441:DE-Lan1:2266381790007476#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990054301770206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@
"id" : "http://lobid.org/organisations/DE-107#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Pfälzische Landesbibliothek"
},
"seeAlso" : [ "https://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Query=-1=%22133469-4%22" ],
"id" : "http://lobid.org/items/990054301770206441:DE-107:2285922320007506#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990058434730206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
"id" : "http://lobid.org/organisations/DE-107#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Pfälzische Landesbibliothek"
},
"seeAlso" : [ "http://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Language=De&Query=010%3D%22HT000893437%22&selectedViewBranchlib=0" ],
"seeAlso" : [ "https://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Query=0010=%22HT000893437%22" ],
"id" : "http://lobid.org/items/990058434730206441:DE-107:2384300260007506#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma-fix/990058567920206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
"id" : "http://lobid.org/organisations/DE-Lan1#!",
"label" : "Universitätsbibliothek der RPTU in Landau"
},
"seeAlso" : [ "https://opac.ub.uni-kl.de/F?func=item-cen-2&doc_library=KLU01&doc_001_number=HT000909138" ],
"seeAlso" : [ "http://aleph1.uni-koblenz.de/F/?func=find-b&request=HT000909138&find_code=IDN&adjacent=N&local_base=KOL01&x=45&y=11&filter_code_2=WYR&filter_request_2=" ],
"id" : "http://lobid.org/items/990058567920206441:DE-Lan1:2386676860007476#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down Expand Up @@ -269,7 +269,7 @@
"id" : "http://lobid.org/organisations/DE-107#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Pfälzische Landesbibliothek"
},
"seeAlso" : [ "http://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Language=De&Query=010%3D%22HT000909138%22&selectedViewBranchlib=0" ],
"seeAlso" : [ "https://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Query=0010=%22HT000909138%22" ],
"id" : "http://lobid.org/items/990058567920206441:DE-107:2317906360007506#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma-fix/990075429930206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"id" : "http://lobid.org/organisations/DE-107#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Pfälzische Landesbibliothek"
},
"seeAlso" : [ "http://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Language=De&Query=010%3D%22HT000944190%22&selectedViewBranchlib=0" ],
"seeAlso" : [ "https://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Query=0010=%22HT000944190%22" ],
"id" : "http://lobid.org/items/990075429930206441:DE-107:2377095800007506#!"
}, {
"label" : "lobid Bestandsressource",
Expand All @@ -116,7 +116,7 @@
"id" : "http://lobid.org/organisations/DE-107#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Pfälzische Landesbibliothek"
},
"seeAlso" : [ "http://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Language=De&Query=010%3D%22HT000944190%22&selectedViewBranchlib=0" ],
"seeAlso" : [ "https://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Query=0010=%22HT000944190%22" ],
"id" : "http://lobid.org/items/990075429930206441:DE-107:2377095810007506#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990103899140206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
"id" : "http://lobid.org/organisations/DE-107#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Pfälzische Landesbibliothek"
},
"seeAlso" : [ "https://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Query=-1=%22590016-5%22" ],
"id" : "http://lobid.org/items/990103899140206441:DE-107:2263335540007506#!"
} ],
"medium" : [ {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990108873860206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@
"id" : "http://lobid.org/organisations/DE-107#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Pfälzische Landesbibliothek"
},
"seeAlso" : [ "https://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Query=-1=%221500025-4%22" ],
"id" : "http://lobid.org/items/990108873860206441:DE-107:2263798630007506#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma-fix/990126276700206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"id" : "http://lobid.org/organisations/DE-Lan1#!",
"label" : "Universitätsbibliothek der RPTU in Landau"
},
"seeAlso" : [ "https://opac.ub.uni-kl.de/F?func=item-cen-2&doc_library=KLU01&doc_001_number=HT014015351" ],
"seeAlso" : [ "http://aleph1.uni-koblenz.de/F/?func=find-b&request=HT014015351&find_code=IDN&adjacent=N&local_base=KOL01&x=45&y=11&filter_code_2=WYR&filter_request_2=" ],
"id" : "http://lobid.org/items/990126276700206441:DE-Lan1:2380082230007476#!"
}, {
"label" : "lobid Bestandsressource",
Expand All @@ -174,7 +174,7 @@
"id" : "http://lobid.org/organisations/DE-Lan1#!",
"label" : "Universitätsbibliothek der RPTU in Landau"
},
"seeAlso" : [ "https://opac.ub.uni-kl.de/F?func=item-cen-2&doc_library=KLU01&doc_001_number=HT014015351" ],
"seeAlso" : [ "http://aleph1.uni-koblenz.de/F/?func=find-b&request=HT014015351&find_code=IDN&adjacent=N&local_base=KOL01&x=45&y=11&filter_code_2=WYR&filter_request_2=" ],
"id" : "http://lobid.org/items/990126276700206441:DE-Lan1:2380082240007476#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990141342350206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"id" : "http://lobid.org/organisations/DE-107#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Pfälzische Landesbibliothek"
},
"seeAlso" : [ "http://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Language=De&Query=010%3D%22TT001230001%22&selectedViewBranchlib=0" ],
"seeAlso" : [ "https://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Query=0010=%22TT001230001%22" ],
"id" : "http://lobid.org/items/990141342350206441:DE-107:2379314410007506#!"
} ],
"medium" : [ {
Expand Down
5 changes: 3 additions & 2 deletions src/test/resources/alma-fix/990156060190206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@
"id" : "http://lobid.org/organisations/DE-575#!",
"label" : "Hochschule für Musik Detmold, Bibliothek"
},
"seeAlso" : [ "https://www.dshs-koeln.de/aleph/F?func=item-cen-2&doc_library=MHD01&doc_001_number=HT015014677&local_base=MHD01" ],
"id" : "http://lobid.org/items/990156060190206441:DE-575:23101091890006480#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down Expand Up @@ -367,7 +368,7 @@
"id" : "http://lobid.org/organisations/DE-Lan1#!",
"label" : "Universitätsbibliothek der RPTU in Landau"
},
"seeAlso" : [ "https://opac.ub.uni-kl.de/F?func=item-cen-2&doc_library=KLU01&doc_001_number=HT015014677" ],
"seeAlso" : [ "http://aleph1.uni-koblenz.de/F/?func=find-b&request=HT015014677&find_code=IDN&adjacent=N&local_base=KOL01&x=45&y=11&filter_code_2=WYR&filter_request_2=" ],
"id" : "http://lobid.org/items/990156060190206441:DE-Lan1:2374193700007476#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down Expand Up @@ -409,7 +410,7 @@
"id" : "http://lobid.org/organisations/DE-107#!",
"label" : "Landesbibliothekszentrum Rheinland-Pfalz / Pfälzische Landesbibliothek"
},
"seeAlso" : [ "http://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Language=De&Query=010%3D%22HT015014677%22&selectedViewBranchlib=0" ],
"seeAlso" : [ "https://kat.lbz-rlp.de/webOPACClient.lbzsis/start.do?Query=0010=%22HT015014677%22" ],
"id" : "http://lobid.org/items/990156060190206441:DE-107:2369296750007506#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/alma-fix/990194744870206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"id" : "http://lobid.org/organisations/DE-Lan1#!",
"label" : "Universitätsbibliothek der RPTU in Landau"
},
"seeAlso" : [ "https://opac.ub.uni-kl.de/F?func=item-cen-2&doc_library=KLU01&doc_001_number=HT017559543" ],
"seeAlso" : [ "http://aleph1.uni-koblenz.de/F/?func=find-b&request=HT017559543&find_code=IDN&adjacent=N&local_base=KOL01&x=45&y=11&filter_code_2=WYR&filter_request_2=" ],
"id" : "http://lobid.org/items/990194744870206441:DE-Lan1:2363975880007476#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990197293880206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
"id" : "http://lobid.org/organisations/DE-1105#!",
"label" : "Hochschule Koblenz, RheinAhrCampus, Bibliothek"
},
"seeAlso" : [ "http://www.hs-koblenz.de/RACwebOPAC/start.do?Login=webopac&Query=0010=%22TT050421649%22" ],
"id" : "http://lobid.org/items/990197293880206441:DE-1105:2219007830007829#!"
}, {
"label" : "lobid Bestandsressource",
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/99371791018506441.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
"id" : "http://lobid.org/organisations/DE-1105#!",
"label" : "Hochschule Koblenz, RheinAhrCampus, Bibliothek"
},
"seeAlso" : [ "http://www.hs-koblenz.de/RACwebOPAC/start.do?Login=webopac&Query=0010=%22HT021613847%22" ],
"id" : "http://lobid.org/items/99371791018506441:DE-1105:2213069980007829#!"
}, {
"type" : [ "Item", "DigitalDocument" ],
Expand Down

0 comments on commit dca4580

Please sign in to comment.