Add volume handling not only for toplevel structures

This commit is contained in:
Sebastian Meyer 2011-06-25 14:55:41 +02:00
parent 21bffdd115
commit 6f873e7291
1 changed files with 12 additions and 0 deletions

View File

@ -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'];