Skip to content
Snippets Groups Projects
Commit 7b7e7c5d authored by Sebastian Kehr's avatar Sebastian Kehr :rowboat_tone2:
Browse files

refs #16624 [fid]

* handle multi-valued issue attribute in publication meta data
* normalize publication issue only if actually set
parent e2e33782
No related merge requests found
......@@ -44,6 +44,10 @@ class OrderHydrator extends AbstractHydrator {
$url = $data['url'];
/* Collect special journal data used for subito-article*/
$publishedIn = $driver->tryMethod('getPublishedIn');
if (isset($publishedIn['issue'])) {
$publishedIn['issue'] = is_string($publishedIn['issue'])
? $publishedIn['issue'] : implode(', ', $publishedIn['issue']);
}
$record = compact(
'id',
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment