Skip to content

Commit

Permalink
Move rightsHolder mapping from oai.oai to oai.content_dm.contentdm ma…
Browse files Browse the repository at this point in the history
…pper
  • Loading branch information
barbarahui committed Oct 16, 2024
1 parent 7297a89 commit f41e3ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion metadata_mapper/mappers/oai/content_dm/contentdm_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ def UCLDC_map(self):
"spatial": self.map_spatial,
"type": self.map_type,
"language": self.split_and_flatten('language'),
"subject": self.map_subject
"subject": self.map_subject,
"rightsHolder": self.source_metadata.get('rightsHolder')
}

def map_is_shown_at(self):
Expand Down
1 change: 0 additions & 1 deletion metadata_mapper/mappers/oai/oai_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def UCLDC_map(self):
"require"
]),
"rights": self.collate_fields(["accessRights", "rights"]),
"rightsHolder": self.source_metadata.get("rightsHolder"),
"source": self.source_metadata.get("source"),
"spatial": self.collate_fields(["coverage", "spatial"]),
"subject": self.map_subject,
Expand Down

0 comments on commit f41e3ab

Please sign in to comment.