Skip to content

Commit

Permalink
Populate subtitle field PR-1640
Browse files Browse the repository at this point in the history
  • Loading branch information
skomorokh committed May 7, 2024
1 parent 3dea1ae commit 21d12d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const recordToReshareForm = rec => {
const res = {
systemInstanceIdentifier: rec.id,
title: rec.title,
subtitle: rec.subTitle,
author: ((typeof rec?.authors?.primary === 'object' ? Object.keys(rec.authors.primary).join('; ') : '')
?? (typeof rec?.authors?.corporate === 'object' ? Object.keys(rec.authors.corporate).join('; ') : '')),
edition: rec?.edition,
Expand Down

0 comments on commit 21d12d4

Please sign in to comment.