From 571521ccdf1a260f9d0d2a63319800e777d41c9f Mon Sep 17 00:00:00 2001 From: Dorian Merz <merz@ub.uni-leipzig.de> Date: Mon, 2 Dec 2019 11:08:08 +0100 Subject: [PATCH] refs #16235 [fid_bbi] change search type of container link in result list --- .../templates/RecordDriver/DefaultRecord/result-list.phtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml b/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml index 4b26e52d148..f78cea5b604 100644 --- a/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml +++ b/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml @@ -67,7 +67,7 @@ if ($cover): <?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('journaltitle', str_replace(['{{{{START_HILITE}}}}', '{{{{END_HILITE}}}}'], '', $journalTitle)))?>"><?=$this->highlight($journalTitle) ?></a> + <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)): ?> -- GitLab