Update Classes/Plugin/Collection.php
Co-authored-by: Sebastian Meyer <sebastian.meyer@slub-dresden.de>
This commit is contained in:
parent
05e70cdae4
commit
5c50fd8d8c
|
@ -404,7 +404,7 @@ class Collection extends \Kitodo\Dlf\Common\AbstractPlugin
|
|||
];
|
||||
} else {
|
||||
// volume_sorting should be always set - but it's not a required field. We append the uid to the array key to make it always unique.
|
||||
$subparts[$resArray['partof']][$resArray['volume_sorting'] . $resArray['uid']] = [
|
||||
$subparts[$resArray['partof']][$resArray['volume_sorting'] . str_pad($resArray['uid'], 9, '0', STR_PAD_LEFT)] = [
|
||||
'u' => $resArray['uid'],
|
||||
'h' => '',
|
||||
's' => $sorting,
|
||||
|
|
Loading…
Reference in New Issue