Add volume handling not only for toplevel structures
This commit is contained in:
parent
21bffdd115
commit
6f873e7291
|
@ -402,6 +402,18 @@ class tx_dlf_document {
|
|||
|
||||
$_details['volume'] = '';
|
||||
|
||||
if (empty($_details['label'])) {
|
||||
|
||||
$_metadata = $this->getMetadata($id);
|
||||
|
||||
if (!empty($_metadata['volume'][0])) {
|
||||
|
||||
$_details['volume'] = $_metadata['volume'][0];
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$_details['pagination'] = '';
|
||||
|
||||
$_details['type'] = (string) $_struct['TYPE'];
|
||||
|
|
Loading…
Reference in New Issue