Skip to content

Commit

Permalink
Merge pull request #2059 from hbz/2058-subfieldFForWork
Browse files Browse the repository at this point in the history
Add $f for GND subject work #2058
  • Loading branch information
TobiasNx authored Aug 23, 2024
2 parents 448ee9a + f53d2cb commit b387263
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions src/main/resources/alma/fix/macros.fix
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ do put_macro("gndOtherCombinedLabel")
if exists("$[field].c")
paste("$[field].@combinedLabel", "$[field].@combinedLabel", "~, ", "$[field].c", join_char:"")
end
if exists("$[field].f")
paste("$[field].@combinedLabel", "$[field].@combinedLabel", "~ (", "$[field].f", "~)", join_char:"")
end
if exists("$[field].g")
paste("$[field].@combinedLabel", "$[field].@combinedLabel", "~ (", "$[field].g", "~)", join_char:"")
end
Expand Down
4 changes: 2 additions & 2 deletions src/test/resources/alma-fix/990172512030206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@
"agent" : {
"gndIdentifier" : "4015727-1",
"id" : "https://d-nb.info/gnd/4015727-1",
"label" : "Europäische Menschenrechtskonvention",
"label" : "Europäische Menschenrechtskonvention (1950 November 4)",
"type" : [ "CorporateBody" ],
"altLabel" : [ "European Convention on Human Rights", "Convention for the Protection of Human Rights and Fundamental Freedoms", "Convention européenne des droits de l'homme", "Europäische Konvention zum Schutze der Menschenrechte und Grundfreiheiten", "Konvention zum Schutze der Menschenrechte und Grundfreiheiten", "Menschenrechtskonvention", "Convenzione per la salvaguardia dei Diritti dell'Uomo e delle Libertà fondamentali", "Convenio para la Protección de los Derechos Humanos y de las Libertades Fundamentales", "Verdrag tot Bescherming van de Rechten van de Mens en de Fundamentele Vrijheden", "Konventionen om skydd för de mänskliga rättigheterna och de grundläggande friheterna", "EMRK", "ECHR" ]
"altLabel" : [ "European Convention on Human Rights (1950 November 4)", "Convention for the Protection of Human Rights and Fundamental Freedoms (1950 November 4)", "Convention européenne des droits de l'homme (1950 November 4)", "Europäische Konvention zum Schutze der Menschenrechte und Grundfreiheiten (1950 November 4)", "Konvention zum Schutze der Menschenrechte und Grundfreiheiten (1950 November 4)", "Menschenrechtskonvention (1950 November 4)", "Convenzione per la salvaguardia dei Diritti dell'Uomo e delle Libertà fondamentali (1950 November 4)", "Convenio para la Protección de los Derechos Humanos y de las Libertades Fundamentales (1950 November 4)", "Verdrag tot Bescherming van de Rechten van de Mens en de Fundamentele Vrijheden (1950 November 4)", "Konventionen om skydd för de mänskliga rättigheterna och de grundläggande friheterna (1950 November 4)", "EMRK", "ECHR" ]
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/oth",
Expand Down

0 comments on commit b387263

Please sign in to comment.