Skip to content

Commit

Permalink
Exclude IZ-activated CZ resources from union catalogue. (#1754)
Browse files Browse the repository at this point in the history
Presence in NWBib was made dependent on presence in Alma NZ with 3a84d88 (see also hbz/nwbib#613).
  • Loading branch information
blackwinter committed May 12, 2023
1 parent 975593d commit bb46ed9
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 67 deletions.
16 changes: 12 additions & 4 deletions src/main/resources/alma/fix/relatedRessourcesAndLinks.fix
Original file line number Diff line number Diff line change
Expand Up @@ -337,13 +337,21 @@ set_array("inCollection[]")

# hbz NZ

do list(path:"MBD ","var":"$i")
if any_equal("$i.M", "49HBZ_NETWORK")
add_field("inCollection[].$append.id", "http://lobid.org/organisations/DE-655#!")
add_field("inCollection[].$last.label", "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen, Netzwerkzone")
if any_equal("MBD .M", "49HBZ_NETWORK")
if any_match("POR .A", ".*")
add_field("@inNZ", "true")
else
unless any_match("035 .a", "^\\(EXLCZ\\).*")
add_field("@inNZ", "true")
end
end
end

if exists("@inNZ")
add_field("inCollection[].$append.id", "http://lobid.org/organisations/DE-655#!")
add_field("inCollection[].$last.label", "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen, Netzwerkzone")
end

# zdb

if exists("zdbId")
Expand Down
5 changes: 0 additions & 5 deletions src/test/resources/alma-fix/99370682219806441.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@
"id" : "http://nbn-resolving.de/urn:nbn:de:bsz:14-qucosa2-386112",
"label" : "urn:nbn:de:bsz:14-qucosa2-386112"
} ],
"inCollection" : [ {
"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/ger",
"label" : "Deutsch"
Expand Down
12 changes: 0 additions & 12 deletions src/test/resources/alma-fix/99370694196806441.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,10 @@
}, {
"id" : "http://worldcat.org/oclc/802544307",
"label" : "OCLC Ressource"
}, {
"id" : "http://nwbib.de/99370694196806441#!",
"label" : "NWBib-Ressource"
}, {
"id" : "http://nbn-resolving.de/urn:nbn:de:hbz:5:2-53272",
"label" : "urn:nbn:de:hbz:5:2-53272"
} ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-655#!",
"label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen, Netzwerkzone",
"type" : [ "Collection" ]
}, {
"id" : "http://lobid.org/resources/HT014176012#!",
"label" : "Nordrhein-Westfälische Bibliographie (NWBib)",
"type" : [ "Collection" ]
} ],
"language" : [ {
"id" : "http://id.loc.gov/vocabulary/iso639-2/ger",
"label" : "Deutsch"
Expand Down
5 changes: 0 additions & 5 deletions src/test/resources/alma-fix/99370699582506441.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@
"related" : [ {
"issn" : "2190-0574"
} ],
"inCollection" : [ {
"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/ger",
"label" : "Deutsch"
Expand Down
5 changes: 0 additions & 5 deletions src/test/resources/alma-fix/99370738710506441.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@
"related" : [ {
"isbn" : [ "9789004297982", "9004297987" ]
} ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-655#!",
"label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen, Netzwerkzone",
"type" : [ "Collection" ]
} ],
"extent" : "1 online resource (398 pages)",
"abstract" : [ "In A Comparative Appraisal of Normative Power Ville Sinkkonen constructs a three-pronged analytical framework for the analysis of normative power, a theoretical concept recently associated with studying the international role of the European Union. This toolkit allows him to compare the foreign policy conduct of the EU and the United States in the context of the January 25th, 2011 Revolution in Egypt along three dimensions: ‘norms and identity’, ‘means’ and ‘paradoxes’. These components permit an in-depth analysis of Western norm promotion in the midst of the upheaval, building on a large pool of source documents. The monograph broadens the remit of normative power through its empirical bent, comparative research set-up and focus on a swiftly unfolding revolution/transition complex. In the process, the prevalent discourse of the EU as a benign international actor is subjected to rigorous analytical scrutiny." ],
"natureOfContent" : [ {
Expand Down
5 changes: 0 additions & 5 deletions src/test/resources/alma-fix/99370746459806441.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@
"related" : [ {
"isbn" : [ "9780444533999", "0444533990" ]
} ],
"inCollection" : [ {
"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/eng",
"label" : "Englisch"
Expand Down
5 changes: 0 additions & 5 deletions src/test/resources/alma-fix/99370763433806441.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,6 @@
"related" : [ {
"isbn" : [ "9780271084749", "027108474X" ]
} ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-655#!",
"label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen, Netzwerkzone",
"type" : [ "Collection" ]
} ],
"extent" : "1 online resource",
"abstract" : [ "\"Explores how superhero comics, with their creative fusions of fantasy and realism, provide a flexible visual form for engaging issues of disability and intersectional identity (race, class, gender, sexuality) as well as for imagining and valuing different physical and cognitive ways of being in the world\"--Provided by publisher." ],
"subject" : [ {
Expand Down
5 changes: 0 additions & 5 deletions src/test/resources/alma-fix/99370763882706441.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@
}, {
"isbn" : [ "9789027237019", "9027237018" ]
} ],
"inCollection" : [ {
"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/eng",
"label" : "Englisch"
Expand Down
5 changes: 0 additions & 5 deletions src/test/resources/alma-fix/99371107766906441.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@
"related" : [ {
"issn" : "2471-5506"
} ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-655#!",
"label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen, Netzwerkzone",
"type" : [ "Collection" ]
} ],
"extent" : "1 online resource",
"note" : [ "The research and policy journal of the World Congress of Families." ],
"natureOfContent" : [ {
Expand Down
5 changes: 0 additions & 5 deletions src/test/resources/alma-fix/99371123630706441.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@
"note" : [ "Print version (hardback):" ],
"isbn" : [ "9783631660126", "363166012X" ]
} ],
"inCollection" : [ {
"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/ger",
"label" : "Deutsch"
Expand Down
5 changes: 0 additions & 5 deletions src/test/resources/alma-fix/99371447897606441.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@
"related" : [ {
"isbn" : [ "9780702075599", "0702075590" ]
} ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-655#!",
"label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen, Netzwerkzone",
"type" : [ "Collection" ]
} ],
"extent" : "1 online resource (ix, 357 pages) : illustrations (chiefly color)",
"note" : [ "Revised edition of: Wheater's basic pathology : a text, atlas, and review of histopathology / [edited by] Barbara Young, William Stewart, and Geraldine O'Dowd. 5th ed. ©2011." ],
"abstract" : [ "This concise introduction to pathology covers basic pathological mechanisms and offers a detailed review of systems pathology, making it a complete, effective review for today's readers. Hundreds of high-quality images-many new to this edition-illustrate common entities, and associated captions provide key pathological points. Reader-friendly text clarifies basic and complex information, helping you understand challenging concepts more easily. Wheater's Pathology is an excellent companion resource for users of Wheater's Functional Histology, 6th Edition, offering a comparison of normal histology with the pathological changes in disease. Contains a new chapter, Introduction to Pathology and Techniques, that provides more background information on histology techniques, immunohistochemistry, molecular tests and digital pathology. Contains new, full-color illustrations that depict additional pathological entities and update classifications. Includes quick-reference features such as keys to the lettering in images at the bottom of each page and fully revised clinical boxes with clinical-pathological correlations that explain the relevance of the pathological processes underlying common diseases and their complications. Summarizes key points with chapter reviews at the end of each section. -- Publisher" ],
Expand Down
5 changes: 0 additions & 5 deletions src/test/resources/alma-fix/99371449208306441.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@
"related" : [ {
"isbn" : [ "9781784714864", "1784714860" ]
} ],
"inCollection" : [ {
"id" : "http://lobid.org/organisations/DE-655#!",
"label" : "hbz - Hochschulbibliothekszentrum des Landes Nordrhein-Westfalen, Netzwerkzone",
"type" : [ "Collection" ]
} ],
"extent" : "1 online resource (528 pages)",
"note" : [ "Includes index." ],
"abstract" : [ "This Handbook covers the accounts, by practitioners and observers, of the ways in which policy is formed around problems, how these problems are recognized and understood, and how diverse participants come to be involved in addressing them. H.K. Colebatch and Robert Hoppe draw together a range of original contributions from experts in the field to illuminate the ways in which policies are formed and how they shape the process of governing. The Handbook on Policy, Process and Governing covers not only the activities of government, but also the contributions of other stakeholders, and the ways in which a wide range of participants contribute to the formation of public policy. It explores the tensions involved in the policy process between: innovative choice and stable practice, authoritative decision and negotiated order, and agreed activity and announced goals. The scholar's focus on the analysis of activity and the practitioner's interest in the achievement of outcomes are brought together in this timely book, making it a valuable read for public policy scholars and practitioners alike." ],
Expand Down
2 changes: 1 addition & 1 deletion web/test/tests/IndexIntegrationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static Collection<Object[]> data() {
{ "publication.startDate:1993", /*->*/ 2 },
{ "publication.location:Berlin AND publication.startDate:1993", /*->*/ 1 },
{ "publication.location:Berlin AND publication.startDate:[1992 TO 2017]", /*->*/ 6 },
{ "inCollection.id:\"http\\://lobid.org/organisations/DE-655#\\!\"", /*->*/ 116 },
{ "inCollection.id:\"http\\://lobid.org/organisations/DE-655#\\!\"", /*->*/ 105 },
{ "inCollection.id:NWBib", /*->*/ 0 },
{ "publication.publishedBy:Quedenfeldt", /*->*/ 2 },
{ "publication.publishedBy:Quedenfeld", /*->*/ 2 },
Expand Down

0 comments on commit bb46ed9

Please sign in to comment.