Skip to content

Commit

Permalink
import: fix contributions from DNB
Browse files Browse the repository at this point in the history
* Fixes links to contributors (from DNB IDs to MEF).

Co-Authored-by: Benoit Erken <[email protected]>
  • Loading branch information
benerken committed Nov 30, 2021
1 parent 867db99 commit 476e3d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rero_ils/dojson/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def get_contribution_link(bibid, reroid, id, key):
if match and len(match.groups()) == 2 and key[:3] in _CONTRIBUTION_TAGS:
match_type = match.group(1).lower()
match_value = match.group(2)
match_type.replace('de-588', 'gnd')
match_type = match_type.replace('de-588', 'gnd')
# if we have a viafid, look for the contributor in MEF
if match_type == "viaf":
url = f'{mef_url}/mef/?q=viaf_pid:{match_value}'
Expand Down

0 comments on commit 476e3d3

Please sign in to comment.