Skip to content
Snippets Groups Projects
Commit 6da72d4d authored by Dorian Merz's avatar Dorian Merz
Browse files

refs #16433 [fid_bbi] bugfixes in detail view for SolrDefault records

* remove seemingly duplicate holdings tab
* fix bug in publicationDetails template
parent 571521cc
No related merge requests found
...@@ -70,6 +70,7 @@ $config = [ ...@@ -70,6 +70,7 @@ $config = [
'tabs' => [ 'tabs' => [
'Description' => 'Description', 'Description' => 'Description',
'Worldcat' => 'Worldcat', 'Worldcat' => 'Worldcat',
'Holdings' => null,
'TOC' => 'TOC', 'TOC' => 'TOC',
'UserComments' => 'UserComments', 'UserComments' => 'UserComments',
'Reviews' => 'Reviews', 'Reviews' => 'Reviews',
......
<!-- fid_bbi: RecordDriver - solrDefault - data-publicationDetails --> <!-- fid_bbi: RecordDriver - solrDefault - data-publicationDetails -->
<? if (!empty($data)): ?> <? if (!empty($data)): ?>
<div itemscope itemtype="http://schema.org/publisher"> <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"> <span property="publisher" typeof="Organization">
<? $pubPlace = $field->getPlace(); if (!empty($pubPlace)): ?> <? $pubPlace = $field->getPlace(); if (!empty($pubPlace)): ?>
<span property="location" typeof="Place"> <span property="location" typeof="Place">
...@@ -20,7 +23,7 @@ ...@@ -20,7 +23,7 @@
<? /*else: ?> <? /*else: ?>
<?=$this->escapeHtml($pubDateSort)*/?></span> <?=$this->escapeHtml($pubDateSort)*/?></span>
<? endif; ?> <? endif; ?>
</span><br/> </span><?php endif; ?><br/>
<? endforeach; ?> <? endforeach; ?>
</div> </div>
<? endif ?> <? endif ?>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment