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

refs #16555 [fid_bbi] removes "Published In" from result-list entry

parent 57a5e1db
No related merge requests found
...@@ -58,19 +58,8 @@ if ($cover): ...@@ -58,19 +58,8 @@ if ($cover):
/* finc-specific from here, #8639, #7345 - CK */ /* finc-specific from here, #8639, #7345 - CK */
/* finc-specific: nxt line #8639 - CK */ ?> /* finc-specific: nxt line #8639 - CK */ ?>
<?php <?php
$journalTitle = $this->driver->getContainerTitle();
$summDate = $this->driver->getPublishDateSort(); $summDate = $this->driver->getPublishDateSort();
?> if (!empty($summDate)): ?>
<?php if (!empty($journalTitle)): ?>
<?=!empty($summAuthor) ? '<br />' : ''?>
<?=$this->transEsc('Published in')?>
<?php $containerSource = $this->driver->getSourceIdentifier(); ?>
<?php $containerID = $this->driver->getContainerRecordID(); ?>
<?php /* TODO: handle highlighting more elegantly here: */ ?>
<a href="<?=($containerID ? $this->recordLink()->getUrl("$containerSource|$containerID") : $this->record($this->driver)->getLink('title', str_replace(['{{{{START_HILITE}}}}', '{{{{END_HILITE}}}}'], '', $journalTitle)))?>"><?=$this->highlight($journalTitle) ?></a>
<?php /* finc-specific: nxt line #8639 - CK */ ?>
<?=!empty($summDate) ? ' (' . $this->escapeHtml($summDate) . ')' : ''?>
<?php elseif (!empty($summDate)): ?>
<?=!empty($summAuthor) ? '<br />' : ''?> <?=!empty($summAuthor) ? '<br />' : ''?>
<?php endif; ?> <?php endif; ?>
<?php $summInCollection = $this->driver->getContainingCollections(); <?php $summInCollection = $this->driver->getContainingCollections();
......
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