From 4fdfeda044fa92f448e0af4bfdb6b844f16f78aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lahmann?= <lahmann@ub.uni-leipzig.de> Date: Wed, 8 Jun 2016 13:49:29 +0200 Subject: [PATCH] * fixed display of year in SolrAI result-list.phtml --- themes/finc/templates/RecordDriver/SolrAI/result-list.phtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/finc/templates/RecordDriver/SolrAI/result-list.phtml b/themes/finc/templates/RecordDriver/SolrAI/result-list.phtml index 30887a31c60..8ea518e0e23 100644 --- a/themes/finc/templates/RecordDriver/SolrAI/result-list.phtml +++ b/themes/finc/templates/RecordDriver/SolrAI/result-list.phtml @@ -40,10 +40,10 @@ <? $containerID = $this->driver->getContainerRecordID(); ?> <? /* TODO: handle highlighting more elegantly here: */?> <a href="<?=($containerID ? $this->recordLink()->getUrl("$containerSource|$containerID") : $this->record($this->driver)->getLink('journaltitle', str_replace(array('{{{{START_HILITE}}}}', '{{{{END_HILITE}}}}'), '', $journalTitle)))?>"><?=$this->highlight($journalTitle) ?></a> - <?=!empty($summDate) ? ' (' . $this->escapeHtml($summDate[0]) . ')' : ''?> + <?=!empty($summDate) ? ' (' . $this->escapeHtml($summDate) . ')' : ''?> <? elseif (!empty($summDate)): ?> <?=!empty($summAuthor) ? '<br />' : ''?> - <?=$this->transEsc('Published') . ' ' . $this->escapeHtml($summDate[0])?> + <?=$this->transEsc('Published') . ' ' . $this->escapeHtml($summDate)?> <? endif; ?> <? $summInCollection = $this->driver->getContainingCollections(); if (!empty($summInCollection)): ?> <? foreach ($summInCollection as $collId => $collText): ?> -- GitLab