Skip to content

Commit 4faaafb

Browse files
fixes for updated ids
1 parent 9f8a01c commit 4faaafb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/updater/gndUpdater.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ main = (payload) => {
168168
// get desired language for preflabel. This is frontendlanguage from original data...
169169
let desiredLanguage = originalCdata.frontendLanguage;
170170
// lock in save data
171-
newCdata.conceptURI = data.id;
171+
newCdata.conceptURI = data['@id'];
172172
newCdata.conceptName = data.preferredName;
173173

174174
// if no frontendLanguage exists in originalData: add

src/webfrontend/GNDUtil.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class GNDUtil
6161

6262
# missing in entityfacts: gndIdentifier, replace with derivative of @id
6363
if efJSON['@id'] and fulltextConfig?.gndIdentifier
64-
_fulltext = efJSON['@id'].split('/').at(-1) + ' '
64+
_fulltext += efJSON['@id'].split('/').at(-1) + ' '
6565

6666
# same in both: preferredName
6767
if efJSON?.preferredName and fulltextConfig?.preferredName

0 commit comments

Comments
 (0)