Skip to content

Commit

Permalink
legacy: serializers: fix notes in metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
yashlamba authored and slint committed Nov 13, 2023
1 parent 66f29e3 commit 47429d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/zenodo_rdm/legacy/serializers/schemas/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def dump_additional_descriptions(self, result, original, **kwargs):
notes = None
for ad in additional_descriptions:
ad_type = ad["type"]["id"]
if ad_type == "other":
if not notes and ad_type == "notes":
notes = ad.get("description", "")
if ad_type == "methods":
methods = ad.get("description", "")
Expand Down

0 comments on commit 47429d6

Please sign in to comment.