Skip to content

Commit

Permalink
DOI: fix wrong parent DOI link
Browse files Browse the repository at this point in the history
  • Loading branch information
ntarocco authored and slint committed Oct 17, 2024
1 parent e28449b commit 2c861de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invenio_rdm_records/services/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def expand(self, obj, context):
when=is_record_or_draft_and_has_parent_doi,
),
else_=RecordPIDLink(
"https://doi.org/{+pid_doi}", when=is_record_or_draft_and_has_parent_doi
"https://doi.org/{+parent_pid_doi}", when=is_record_or_draft_and_has_parent_doi
),
)
parent_doi_html_link = RecordPIDLink(
Expand Down

0 comments on commit 2c861de

Please sign in to comment.