Browse Source

Update Classes/Plugin/Collection.php

Co-authored-by: Sebastian Meyer <sebastian.meyer@slub-dresden.de>
pull/603/head
Alexander Bigga 2 years ago committed by GitHub
parent
commit
5c50fd8d8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Classes/Plugin/Collection.php

2
Classes/Plugin/Collection.php

@ -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…
Cancel
Save