Skip to content

Commit

Permalink
Merge pull request #1801 from hbz/1670-stockNumber
Browse files Browse the repository at this point in the history
Add stockNumber #1670
  • Loading branch information
TobiasNx committed Jul 25, 2023
2 parents fb1551f + 35135d5 commit e5c86da
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/alma/alma.fix
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ retain(
"seeAlso[]",
"shortTitle[]",
"spatial[]",
"stockNumber[]",
"subject[]",
"successor[]",
"supplement[]",
Expand Down
5 changes: 5 additions & 0 deletions src/main/resources/alma/fix/identifiers.fix
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,11 @@ copy_field("almaMmsId","rpbId")
lookup("rpbId","almaMmsId2rpbId",delete:"true")
replace_all("rpbId", "^RPB","")

set_array("stockNumber[]")
do list(path:"028??", "var":"$i")
copy_field("$i.a", "stockNumber[].$append")
end

copy_field("zdbId","@hbzId")
lookup("@hbzId","zdbId2oldHbzId",delete:"true")
if exists("@hbzId")
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/labels/context-labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,12 @@
"name": "bibliographicLevel",
"uri": "http://purl.org/lobid/lv#bibliographicLevel"
},
{
"label": "Bestellnummer",
"multilangLabel": {},
"name": "stockNumber",
"uri": "http://purl.org/lobid/lv#stockNumber"
},
{
"label": "Hinweis zur Sprache",
"multilangLabel": {},
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990016782920206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"deprecatedUri" : "http://lobid.org/resources/HT004285445#!",
"ismn" : [ "M204421206" ],
"oclcNumber" : [ "1068203015" ],
"stockNumber" : [ "N 2120" ],
"title" : "Erleben - Verstehen - Lernen",
"otherTitleInformation" : [ "Klavierschule für Erwachsene" ],
"publication" : [ {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990122511970206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"almaMmsId" : "990122511970206441",
"hbzId" : "TT000075751",
"deprecatedUri" : "http://lobid.org/resources/TT000075751#!",
"stockNumber" : [ "CDA66941/2" ],
"title" : "Complete folk song arrangements",
"publication" : [ {
"startDate" : "1994",
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990123613330206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"almaMmsId" : "990123613330206441",
"hbzId" : "TT000166861",
"deprecatedUri" : "http://lobid.org/resources/TT000166861#!",
"stockNumber" : [ "FC 57" ],
"title" : "Die Sonnenblume [Medienkombination], Tonkassette",
"otherTitleInformation" : [ "99 Lieder für Kinder ; Grundschule" ],
"publication" : [ {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990139686910206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"almaMmsId" : "990139686910206441",
"hbzId" : "HT014525099",
"deprecatedUri" : "http://lobid.org/resources/HT014525099#!",
"stockNumber" : [ "29 511 3" ],
"title" : "Kantaten Ostern, Pfingsten",
"otherTitleInformation" : [ "Christ lag in Todesbanden BWV 4 ; Ein Herz, da seinen Jesum lebend weiß BWV 134 ; Erschallet, ihr Lieder BWV 172 ; Also hat Gott die Welt geliebt BWV 68" ],
"publication" : [ {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990198383780206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"deprecatedUri" : "http://lobid.org/resources/HT017775049#!",
"isbn" : [ "393724039X", "9783937240398" ],
"oclcNumber" : [ "1106740171" ],
"stockNumber" : [ "944187" ],
"title" : "Jana und das Weihnachtsgeheimnis",
"otherTitleInformation" : [ "Adventskalender-Geschichten für Kinder ; Hörbuch" ],
"publication" : [ {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990209515320206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"hbzId" : "HT018781534",
"deprecatedUri" : "http://lobid.org/resources/HT018781534#!",
"ismn" : [ "9790001200165" ],
"stockNumber" : [ "ED 22009", "56 522" ],
"title" : "Momento capriccioso",
"alternativeTitle" : [ "Für Violine, Horn (in F) und Klavier" ],
"otherTitleInformation" : [ "for violin, French horn (in F) and piano ; (1969)" ],
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990209817770206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"deprecatedUri" : "http://lobid.org/resources/HT018811791#!",
"isbn" : [ "9783837510607", "3837510603" ],
"oclcNumber" : [ "1074460311" ],
"stockNumber" : [ "Best.-Nr.: 21060" ],
"title" : "Wissensquiz Ruhrgebiet",
"publication" : [ {
"startDate" : "2013",
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990210237770206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"hbzId" : "HT018853619",
"deprecatedUri" : "http://lobid.org/resources/HT018853619#!",
"isbn" : [ "9783702410223", "3702410228" ],
"stockNumber" : [ "UE 18 105" ],
"title" : "Ich bin der Welt abhanden gekommen",
"otherTitleInformation" : [ "für 16 Stimmen : (1983)" ],
"publication" : [ {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990210285400206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"almaMmsId" : "990210285400206441",
"hbzId" : "HT018857620",
"deprecatedUri" : "http://lobid.org/resources/HT018857620#!",
"stockNumber" : [ "107 157" ],
"title" : "European Concert 1992",
"publication" : [ {
"startDate" : "2010",
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990223521400206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"deprecatedUri" : "http://lobid.org/resources/HT019631849#!",
"isbn" : [ "9783836263702", "383626370X" ],
"oclcNumber" : [ "1028021052" ],
"stockNumber" : [ "Bestellnummer: 459/06370" ],
"title" : "Einstieg in JavaScript",
"edition" : [ "3., aktualisierte Auflage" ],
"publication" : [ {
Expand Down

0 comments on commit e5c86da

Please sign in to comment.