From 59dcf7e4840248587a62ada84329ef227b2813c8 Mon Sep 17 00:00:00 2001 From: Petra Maier Date: Fri, 20 Dec 2024 08:08:36 +0100 Subject: [PATCH 1/4] Add new testfile with repeated 776 (#2116) --- .../resources/alma-fix/990049090780206441.xml | 574 ++++++++++++++++++ 1 file changed, 574 insertions(+) create mode 100644 src/test/resources/alma-fix/990049090780206441.xml diff --git a/src/test/resources/alma-fix/990049090780206441.xml b/src/test/resources/alma-fix/990049090780206441.xml new file mode 100644 index 000000000..92622aa17 --- /dev/null +++ b/src/test/resources/alma-fix/990049090780206441.xml @@ -0,0 +1,574 @@ + + + 02104nam a2200349 c 4500 + DE-605 + 20241210094116.0 + tu + 920512|1661 gw ||| | lat c + 990049090780206441 + + 1067434335 + OCoLC + + + VD17 14:632124N + vd17 + + + (DE-605)HT004195079 + + + HBZ/OZK + ger + DE-605 + 6 + DE-605 + rda + + + lat + + + XA-DXDE + + + Wesseling, Hermann + (DE-588)124544185 + aut + https://d-nb.info/gnd/124544185 + http://viaf.org/viaf/18159895 + GND-124544185 + + + Nomognosticon Ivris Vniversi Bipartitvm, Sive Avrifodina Præecipuarum Legum & Canonum in Praxi versatilium, utriusque Iuris tum Publici tum Privati + In Qva velut in imis Terræ latebris venæ Legalis Politiæ pro utroque foro aperiuntur, & totius pene Mundi iura Regnorum, præsertim S. Rom. Imp. cum Regnis Hisp. Gall. Britan. &c. Turcici, Tartar. &c. Per IV. Mundi Partes cum Novo Orbe Carolino ... + Authore R.P. Hermanno Wesselingio I.V.D. Insignium V. Cath. S. Pauli & S. Martini Monasterii VV. nec non B. ad S. Remigium Ecclesiarum olim Canonico, nunc C.D. + + + Nomognosticon iuris universi bipartitum, sive Aurifodina praecipuarum legum & canonum in praxi versatilium, utriusque iuris tum publici tum privati + + + Coloniæ Agrippinæ + Apud Iodocum Kalcovium Bibliopolam + M.DC.LXI. + + + 32 ungezählte Seiten, 980 Seiten, 16 ungezählte Seiten, Seite 981-1883 + + + + txt + + + n + + + nc + + + (OCoLC)1067434335 + + + (DE-599)HBZHT004195079 + + + Kalckhoven, Jost + 1620-1669 + (DE-588)137706588 + prt + https://d-nb.info/gnd/137706588 + http://viaf.org/viaf/2429759 + GND-137706588 + + + Kalckhoven + Offizin, Köln + (DE-588)1090684045 + pbl + https://d-nb.info/gnd/1090684045 + http://viaf.org/viaf/3131145856973222920627 + GND-1090684045 + + + Köln + (DE-588)4031483-2 + pup + https://d-nb.info/gnd/040314839 + GND-040314839 + + + Reproduktion + Wesseling, Hermann + Nomognosticon Ivris Vniversi Bipartitvm, Sive Avrifodina Præecipuarum Legum & Canonum in Praxi versatilium, utriusque Iuris tum Publici tum Privati + (DE-605)CT005026251 + (DE-605)CT005026249 + + + Vorlageform der Veröffentlichungsangabe des 2. Teils: Coloniae Aggrippinae, Apud Iodocum Kalcovium + + + Paginierfehler: Seite 339 fälschlich als Seite 315 paginiert + + + 49HBZ_NETWORK + 990049090780206441 + HBZ Network + + + 49HBZ_ULM + 991031171749706449 + Universität Münster + + + dhoev_01######49HBZ_ULM + HBZ + marc21 + 20211206081800.0 + 66 + 01 + false + 2024-12-10 09:41:16 Europe/Berlin + 004909078-HBZ01 + 60 + import + 2021-04-05 21:43:31 Europe/Berlin + + + HLS + HLS_RAFUE + Ia 234-1_2 + 22689494510006449 + + + 2024-12-06 09:52:34 + 22689494510006449 + 2024-12-06 09:52:34 + 49HBZ_ULM + false + dhoev_01 + dhoev_01 + + + HLS + HLS_RAFUE + Ia 234/2 + 22689494450006449 + + + 2024-12-06 09:59:55 + 22689494450006449 + 2024-12-06 09:59:55 + 49HBZ_ULM + false + dhoev_01 + dhoev_01 + + + 22689494510006449 + HLS_RAFUE + Altsignaturen + BOOK + HLS_RAFUE + dhoev_01 + 2022-07-10 11:52:21 Europe/Berlin + 2024-12-06 11:53:15 Europe/Berlin + false + Provenienz: Exlibris "Ex Bibliotheca Snellenbergica LL. Baronum De Fürstenberg. Insigniter Aucta per Clem. Lothar S.R.I.L.B. De Fürstenberg" ; Seite 319-338 des 1. Teils stark beschädigt und mit größeren Fehlstellen ; Titelei des 2. Teils = 16 ungezählte Seiten am Ende von Teil 2 eingebunden + SISIS-Ausleihzähler Migrationsjahr: 0 | SISIS-Ausleihzähler Vor-Migrationsjahr: 3 | SISIS-Ausleihzähler vorletztes Migrationsjahr: 0 + 49HBZ_ULM + true + 0 + 8 + import + 6-00694121-X + 23553163060006449 + DBS-Systematik: 0 + Ia 234-1_2 + LOAN + 2022-07-11 13:03:59 Europe/Berlin + HLS + HLS + + + 22689494450006449 + HLS_RAFUE + Altsignaturen + BOOK + HLS_RAFUE + dhoev_01 + 2022-07-10 11:09:37 Europe/Berlin + 2024-12-06 11:40:56 Europe/Berlin + false + Nur Teil 2 vorhanden = 16 ungezählte Seiten, Seite 981-1883 + SISIS-Ausleihzähler Migrationsjahr: 1 | SISIS-Ausleihzähler Vor-Migrationsjahr: 5 | SISIS-Ausleihzähler vorletztes Migrationsjahr: 0 + 49HBZ_ULM + true + 0 + 8 + import + 6-00694122-2 + 23553160180006449 + DBS-Systematik: 0 + Ia 234/2 + LOAN + 2022-07-11 13:03:59 Europe/Berlin + HLS + HLS + + + Wesselingius, Hermannus + GND + GND-124544185 + 400 + + + Wessling, Hermann + GND + GND-124544185 + 400 + + + 124544185 + http://d-nb.info/gnd/124544185 + gnd + GND + GND-124544185 + 024 + + + 4031483-2 + http://d-nb.info/gnd/4031483-2 + gnd + GND + GND-040314839 + 024 + + + Keln + GND + GND-040314839 + 451 + + + Keulen + GND + GND-040314839 + 451 + + + Cölln + Köln + GND + GND-040314839 + 451 + + + Groß-Köln + GND + GND-040314839 + 451 + + + Kūlūniyā + GND + GND-040314839 + 451 + + + Kerun + GND + GND-040314839 + 451 + + + Oppidum Ubiorum + GND + GND-040314839 + 451 + + + Ara Ubiorum + GND + GND-040314839 + 451 + + + Colonia Claudia Ara Agrippinensium + v:röm. + GND + GND-040314839 + 451 + + + CCAA + abku + https://d-nb.info/standards/elementset/gnd#abbreviatedNameForThePlaceOrGeographicName + r + Abkuerzung + v:röm. + GND + GND-040314839 + 451 + + + Colonia Agrippina + v:röm. + GND + GND-040314839 + 451 + + + Colonia Agrippinensis + v:röm. + GND + GND-040314839 + 451 + + + Colonia + Köln + GND + GND-040314839 + 451 + + + Colonia Ubiorum + GND + GND-040314839 + 451 + + + Kölln am Rheine + GND + GND-040314839 + 451 + + + Stadt Köln + GND + GND-040314839 + 451 + + + Cöln + GND + GND-040314839 + 451 + + + Cöllen + GND + GND-040314839 + 451 + + + Cologne + GND + GND-040314839 + 451 + + + Colonia ad Rhenum + GND + GND-040314839 + 451 + + + Hansestadt Köln + GND + GND-040314839 + 451 + + + Gross-Köln + GND + GND-040314839 + 451 + + + Colonia Agrippina + GND + GND-040314839 + 451 + + + Colonia Ubiorum + GND + GND-040314839 + 451 + + + L:fre + Kalckhoven + Imprimerie, Cologne + CH-GND + GND + GND-1090684045 + 410 + + + L:eng + Kalckhoven + Printing office, Köln + CH-GND + GND + GND-1090684045 + 410 + + + Kalckhoven, Jost + Offizin, Köln + GND + GND-1090684045 + 410 + + + Kalckhoven, Jost + Imprimerie, Cologne + GND + GND-1090684045 + 410 + + + Kalckhoven, Jost + Printing office, Köln + GND + GND-1090684045 + 410 + + + Kalcovius, Iodocus + Offizin, Köln + GND + GND-1090684045 + 410 + + + Kalcovius, Iodocus + Imprimerie, Cologne + GND + GND-1090684045 + 410 + + + Kalcovius, Iodocus + Printing office, Köln + GND + GND-1090684045 + 410 + + + Kalcoven, Iodocus + Offizin, Köln + GND + GND-1090684045 + 410 + + + Kalcoven, Iodocus + Imprimerie, Cologne + GND + GND-1090684045 + 410 + + + Kalcoven, Iodocus + Printing office, Köln + GND + GND-1090684045 + 410 + + + 1090684045 + http://d-nb.info/gnd/1090684045 + gnd + GND + GND-1090684045 + 024 + + + Calcovius, Jost + 1620-1669 + GND + GND-137706588 + 400 + + + Calcovius, Jodocus + 1620-1669 + GND + GND-137706588 + 400 + + + Calckovius, Jodocus + 1620-1669 + GND + GND-137706588 + 400 + + + Kalcovius, Jodocus + 1620-1669 + GND + GND-137706588 + 400 + + + Kalcovius, Iodocus + 1620-1669 + GND + GND-137706588 + 400 + + + Kalcouius, Iodocus + 1620-1669 + GND + GND-137706588 + 400 + + + Kolcovius, Jodocus + 1620-1669 + GND + GND-137706588 + 400 + + + Kalckhoven, Jodocus + 1620-1669 + GND + GND-137706588 + 400 + + + Kalcoven, Jodocus + 1620-1669 + GND + GND-137706588 + 400 + + + Kalckovius, Iodocus + 1620-1669 + GND + GND-137706588 + 400 + + + Kalckovius, Jodocus + 1620-1669 + GND + GND-137706588 + 400 + + + 137706588 + http://d-nb.info/gnd/137706588 + gnd + GND + GND-137706588 + 024 + + From cfd80567d1380b0987f0c282772c63427d9b8a1c Mon Sep 17 00:00:00 2001 From: Petra Maier Date: Fri, 20 Dec 2024 08:14:44 +0100 Subject: [PATCH 2/4] Adjust transformation for secondaryForm (#2116) --- .../alma/fix/relatedRessourcesAndLinks.fix | 10 +- .../alma-fix/990049090780206441.json | 182 ++++++++++++++++++ 2 files changed, 188 insertions(+), 4 deletions(-) create mode 100644 src/test/resources/alma-fix/990049090780206441.json diff --git a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix index 92d423ca3..cf3a50ef2 100644 --- a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix +++ b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix @@ -240,14 +240,16 @@ do list(path: "77608", "var":"$i") if any_match ("$i.i", ".*eproduktion") set_hash( "secondaryForm[].$append") if all_match("$i.w", "^\\((?:DE-600|DE-605)\\)(.*)$") - copy_field("$i.w", "secondaryForm[].$last.id") + do list(path:"$i.w", "var":"$j") + replace_all("$j", "^\\(DE-605\\)(.*)$", "http://lobid.org/resources/$1#!") + replace_all("$j", "^\\(DE-600\\)(.*)$", "http://lobid.org/resources/$1#!") + copy_field("$j", "secondaryForm[].$append.id") + copy_field("$i.i", "secondaryForm[].$last.label") + end end - copy_field("$i.i", "secondaryForm[].$last.label") end end -replace_all("secondaryForm[].*.id", "^\\(DE-605\\)(.*)$", "http://lobid.org/resources/$1#!") -replace_all("secondaryForm[].*.id", "^\\(DE-600\\)(.*)$", "http://lobid.org/resources/ZDB-$1#!") # 856 - Electronic Location and Access (R) - Subfield: $u (R) $3 (NR) # 1. Indicator: 4 = HTTP diff --git a/src/test/resources/alma-fix/990049090780206441.json b/src/test/resources/alma-fix/990049090780206441.json new file mode 100644 index 000000000..ec7e9757e --- /dev/null +++ b/src/test/resources/alma-fix/990049090780206441.json @@ -0,0 +1,182 @@ +{ + "@context" : "http://lobid.org/resources/context.jsonld", + "id" : "http://lobid.org/resources/990049090780206441#!", + "type" : [ "BibliographicResource", "Book" ], + "medium" : [ { + "label" : "Print", + "id" : "http://rdaregistry.info/termList/RDAproductionMethod/1010" + } ], + "title" : "Nomognosticon Ivris Vniversi Bipartitvm, Sive Avrifodina Præecipuarum Legum & Canonum in Praxi versatilium, utriusque Iuris tum Publici tum Privati", + "almaMmsId" : "990049090780206441", + "hbzId" : "HT004195079", + "deprecatedUri" : "http://lobid.org/resources/HT004195079#!", + "oclcNumber" : [ "1067434335" ], + "alternativeTitle" : [ "Nomognosticon iuris universi bipartitum, sive Aurifodina praecipuarum legum & canonum in praxi versatilium, utriusque iuris tum publici tum privati" ], + "otherTitleInformation" : [ "In Qva velut in imis Terræ latebris venæ Legalis Politiæ pro utroque foro aperiuntur, & totius pene Mundi iura Regnorum, præsertim S. Rom. Imp. cum Regnis Hisp. Gall. Britan. &c. Turcici, Tartar. &c. Per IV. Mundi Partes cum Novo Orbe Carolino ..." ], + "publication" : [ { + "type" : [ "PublicationEvent" ], + "location" : [ "Coloniæ Agrippinæ" ], + "publishedBy" : [ "Apud Iodocum Kalcovium Bibliopolam" ] + } ], + "describedBy" : { + "id" : "http://lobid.org/resources/990049090780206441", + "label" : "Webseite der hbz-Ressource 990049090780206441", + "type" : [ "BibliographicDescription" ], + "inDataset" : { + "id" : "http://lobid.org/resources/dataset#!", + "label" : "lobid-resources – Der hbz-Verbundkatalog als Linked Open Data" + }, + "resultOf" : { + "type" : [ "CreateAction" ], + "endTime" : "0000-00-00T00:00:00", + "instrument" : { + "id" : "https://github.com/hbz/lobid-resources", + "type" : [ "SoftwareApplication" ], + "label" : "Software lobid-resources" + }, + "object" : { + "id" : "https://lobid.org/marcxml/990049090780206441", + "dateCreated" : "1992-05-12", + "dateModified" : "2024-12-10", + "type" : [ "DataFeedItem" ], + "label" : "hbz-Ressource 990049090780206441 im Exportformat MARC21 XML", + "inDataset" : { + "id" : "https://datahub.io/dataset/hbz_unioncatalog", + "label" : "hbz_unioncatalog" + }, + "sourceOrganization" : { + "id" : "http://lobid.org/organisations/DE-605#!", + "label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen" + }, + "provider" : { + "id" : "http://lobid.org/organisations/DE-605#!", + "label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen" + }, + "modifiedBy" : [ { + "id" : "http://lobid.org/organisations/DE-6#!", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + }, { + "id" : "http://lobid.org/organisations/DE-605#!", + "label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen" + } ] + } + }, + "license" : [ { + "id" : "http://creativecommons.org/publicdomain/zero/1.0", + "label" : "Creative Commons-Lizenz CC0 1.0 Universal" + } ] + }, + "sameAs" : [ { + "id" : "https://hub.culturegraph.org/resource/(DE-605)990049090780206441", + "label" : "Culturegraph Ressource" + }, { + "id" : "http://worldcat.org/oclc/1067434335", + "label" : "OCLC Ressource" + } ], + "secondaryForm" : [ { + "id" : "http://lobid.org/resources/CT005026251#!", + "label" : "Reproduktion" + }, { + "id" : "http://lobid.org/resources/CT005026249#!", + "label" : "Reproduktion" + } ], + "inCollection" : [ { + "id" : "https://nrw.digibib.net/search/hbzvk/", + "label" : "DigiBib hbz Verbundkatalog", + "type" : [ "Collection" ] + }, { + "id" : "http://lobid.org/organisations/DE-655#!", + "label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen, Netzwerkzone", + "type" : [ "Collection" ] + } ], + "language" : [ { + "id" : "http://id.loc.gov/vocabulary/iso639-2/lat", + "label" : "Latein" + } ], + "extent" : "32 ungezählte Seiten, 980 Seiten, 16 ungezählte Seiten, Seite 981-1883 ; 8°", + "note" : [ "Vorlageform der Veröffentlichungsangabe des 2. Teils: Coloniae Aggrippinae, Apud Iodocum Kalcovium", "Paginierfehler: Seite 339 fälschlich als Seite 315 paginiert" ], + "hasItem" : [ { + "label" : "lobid Bestandsressource", + "type" : [ "Item", "PhysicalObject" ], + "callNumber" : "Ia 234-1_2", + "serialNumber" : "6-00694121-X", + "currentLibrary" : "HLS", + "currentLocation" : "HLS_RAFUE", + "heldBy" : { + "isil" : "DE-6", + "id" : "http://lobid.org/organisations/DE-6#!", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + }, + "seeAlso" : [ "https://hbz-ulbms.primo.exlibrisgroup.com/discovery/search?query=any,contains,990049090780206441&tab=Everything&search_scope=MyInst_and_CI&vid=49HBZ_ULM:VU2&offset=0" ], + "inCollection" : [ { + "id" : "http://lobid.org/organisations/DE-6#!", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + } ], + "id" : "http://lobid.org/items/990049090780206441:DE-6:23553163060006449#!" + }, { + "label" : "lobid Bestandsressource", + "type" : [ "Item", "PhysicalObject" ], + "callNumber" : "Ia 234/2", + "serialNumber" : "6-00694122-2", + "currentLibrary" : "HLS", + "currentLocation" : "HLS_RAFUE", + "heldBy" : { + "isil" : "DE-6", + "id" : "http://lobid.org/organisations/DE-6#!", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + }, + "seeAlso" : [ "https://hbz-ulbms.primo.exlibrisgroup.com/discovery/search?query=any,contains,990049090780206441&tab=Everything&search_scope=MyInst_and_CI&vid=49HBZ_ULM:VU2&offset=0" ], + "inCollection" : [ { + "id" : "http://lobid.org/organisations/DE-6#!", + "label" : "Universitäts- und Landesbibliothek Münster, Zentralbibliothek" + } ], + "id" : "http://lobid.org/items/990049090780206441:DE-6:23553160180006449#!" + } ], + "bibliographicLevel" : { + "label" : "Monograph/Item", + "id" : "https://www.loc.gov/marc/bibliographic/bdleader.html#Monograph_Item" + }, + "responsibilityStatement" : [ "Authore R.P. Hermanno Wesselingio I.V.D. Insignium V. Cath. S. Pauli & S. Martini Monasterii VV. nec non B. ad S. Remigium Ecclesiarum olim Canonico, nunc C.D." ], + "contribution" : [ { + "agent" : { + "gndIdentifier" : "124544185", + "id" : "https://d-nb.info/gnd/124544185", + "label" : "Wesseling, Hermann", + "type" : [ "Person" ], + "altLabel" : [ "Wesselingius, Hermannus", "Wessling, Hermann" ] + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/aut", + "label" : "Autor/in" + }, + "type" : [ "Contribution" ] + }, { + "agent" : { + "gndIdentifier" : "137706588", + "id" : "https://d-nb.info/gnd/137706588", + "label" : "Kalckhoven, Jost", + "type" : [ "Person" ], + "dateOfBirth" : "1620", + "dateOfDeath" : "1669", + "altLabel" : [ "Calcovius, Jost", "Calcovius, Jodocus", "Calckovius, Jodocus", "Kalcovius, Jodocus", "Kalcovius, Iodocus", "Kalcouius, Iodocus", "Kolcovius, Jodocus", "Kalckhoven, Jodocus", "Kalcoven, Jodocus", "Kalckovius, Iodocus", "Kalckovius, Jodocus" ] + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/prt", + "label" : "Druck" + }, + "type" : [ "Contribution" ] + }, { + "agent" : { + "gndIdentifier" : "1090684045", + "id" : "https://d-nb.info/gnd/1090684045", + "label" : "Kalckhoven (Offizin, Köln)", + "type" : [ "CorporateBody" ], + "altLabel" : [ "Kalckhoven (Imprimerie, Cologne)", "Kalckhoven (Printing office, Köln)", "Kalckhoven, Jost (Offizin, Köln)", "Kalckhoven, Jost (Imprimerie, Cologne)", "Kalckhoven, Jost (Printing office, Köln)", "Kalcovius, Iodocus (Offizin, Köln)", "Kalcovius, Iodocus (Imprimerie, Cologne)", "Kalcovius, Iodocus (Printing office, Köln)", "Kalcoven, Iodocus (Offizin, Köln)", "Kalcoven, Iodocus (Imprimerie, Cologne)", "Kalcoven, Iodocus (Printing office, Köln)" ] + }, + "role" : { + "id" : "http://id.loc.gov/vocabulary/relators/pbl", + "label" : "Verlag" + }, + "type" : [ "Contribution" ] + } ] +} From a9f42856c0a39b85eee35100e3cef0157a568d68 Mon Sep 17 00:00:00 2001 From: Petra Maier Date: Fri, 20 Dec 2024 08:39:36 +0100 Subject: [PATCH 3/4] Add test (#2116) Complements cfd80567d1380b0987f0c282772c63427d9b8a1c --- web/test/tests/IndexIntegrationTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/test/tests/IndexIntegrationTest.java b/web/test/tests/IndexIntegrationTest.java index 7f3d55227..2dddfcd52 100644 --- a/web/test/tests/IndexIntegrationTest.java +++ b/web/test/tests/IndexIntegrationTest.java @@ -66,8 +66,8 @@ public static Collection data() { { "publication.startDate:1993", /*->*/ 3 }, { "publication.location:Berlin AND publication.startDate:1993", /*->*/ 1 }, { "publication.location:Berlin AND publication.startDate:[1992 TO 2017]", /*->*/ 5 }, - { "inCollection.id:\"http\\://lobid.org/organisations/DE-655#\\!\"", /*->*/ 141 }, - { "inCollection.id:\"https\\://nrw.digibib.net/search/hbzvk/\"", /*->*/ 159 }, + { "inCollection.id:\"http\\://lobid.org/organisations/DE-655#\\!\"", /*->*/ 142 }, + { "inCollection.id:\"https\\://nrw.digibib.net/search/hbzvk/\"", /*->*/ 160 }, { "inCollection.id:NWBib", /*->*/ 0 }, { "publication.publishedBy:Quedenfeldt", /*->*/ 2 }, { "publication.publishedBy:Quedenfeld", /*->*/ 2 }, @@ -93,7 +93,7 @@ public static Collection data() { { "describedBy.resultOf.object.dateCreated:\"2023-03-22\"", /*->*/ 1}, { "describedBy.resultOf.object.dateModified:\"2023-07-30\"", /*->*/ 3}, { "describedBy.resultOf.object.sourceOrganization.id:\"http\\://lobid.org/organisations/DE-5#\\!\"", /*->*/ 5}, - { "describedBy.resultOf.object.modifiedBy.id:\"http\\://lobid.org/organisations/DE-6#\\!\"", /*->*/ 16 }, + { "describedBy.resultOf.object.modifiedBy.id:\"http\\://lobid.org/organisations/DE-6#\\!\"", /*->*/ 17 }, { "\"Reader-friendly\"", /*->*/ 1}, { "\"Reader friendly\"", /*->*/ 1}, // all q tests are related to DigiBib From bfb90e8e4e07024024bfac7e2889d4a74eef7ff8 Mon Sep 17 00:00:00 2001 From: maipet <75243956+maipet@users.noreply.github.com> Date: Fri, 20 Dec 2024 12:24:28 +0100 Subject: [PATCH 4/4] Update src/main/resources/alma/fix/relatedRessourcesAndLinks.fix include ZDB-prefix Co-authored-by: TobiasNx <61879957+TobiasNx@users.noreply.github.com> --- src/main/resources/alma/fix/relatedRessourcesAndLinks.fix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix index cf3a50ef2..6b463d64e 100644 --- a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix +++ b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix @@ -242,7 +242,7 @@ do list(path: "77608", "var":"$i") if all_match("$i.w", "^\\((?:DE-600|DE-605)\\)(.*)$") do list(path:"$i.w", "var":"$j") replace_all("$j", "^\\(DE-605\\)(.*)$", "http://lobid.org/resources/$1#!") - replace_all("$j", "^\\(DE-600\\)(.*)$", "http://lobid.org/resources/$1#!") + replace_all("$j", "^\\(DE-600\\)(.*)$", "http://lobid.org/resources/ZDB-$1#!") copy_field("$j", "secondaryForm[].$append.id") copy_field("$i.i", "secondaryForm[].$last.label") end