diff --git a/module/fid_bbi/config/module.config.php b/module/fid_bbi/config/module.config.php index 7568e10a4356647ac51965306a017d51503069a8..6f02bff9c416e9ba13945cc987965089b87af716 100644 --- a/module/fid_bbi/config/module.config.php +++ b/module/fid_bbi/config/module.config.php @@ -70,6 +70,7 @@ $config = [ 'tabs' => [ 'Description' => 'Description', 'Worldcat' => 'Worldcat', + 'Holdings' => null, 'TOC' => 'TOC', 'UserComments' => 'UserComments', 'Reviews' => 'Reviews', diff --git a/themes/fid_bbi/templates/RecordDriver/DefaultRecord/data-publicationDetails.phtml b/themes/fid_bbi/templates/RecordDriver/DefaultRecord/data-publicationDetails.phtml index 89b17f0c06617ad63f1ee5a85c32399c8b394c69..bb12e7c2d498613c7a883a81aef7f31c1f0cf7ec 100644 --- a/themes/fid_bbi/templates/RecordDriver/DefaultRecord/data-publicationDetails.phtml +++ b/themes/fid_bbi/templates/RecordDriver/DefaultRecord/data-publicationDetails.phtml @@ -1,7 +1,10 @@ <!-- fid_bbi: RecordDriver - solrDefault - data-publicationDetails --> <? if (!empty($data)): ?> <div itemscope itemtype="http://schema.org/publisher"> - <? foreach ($data as $field): ?> + <? foreach ((array)$data as $field): ?> + <?php if(is_string($data)): ?> + <?=$this->escapeHtml($data)?> + <?php else: ?> <span property="publisher" typeof="Organization"> <? $pubPlace = $field->getPlace(); if (!empty($pubPlace)): ?> <span property="location" typeof="Place"> @@ -20,7 +23,7 @@ <? /*else: ?> <?=$this->escapeHtml($pubDateSort)*/?></span> <? endif; ?> - </span><br/> + </span><?php endif; ?><br/> <? endforeach; ?> </div> <? endif ?>