Skip to content

Commit

Permalink
#21064
Browse files Browse the repository at this point in the history
  • Loading branch information
nczirjak-acdh committed Nov 29, 2022
1 parent 6acab99 commit 668f200
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/RecordDriver/DefaultRecord/list-entry.phtml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<div class="resultItemLine1">
<?php $missing = $this->driver instanceof \VuFind\RecordDriver\Missing; ?>
<?php if (!$missing): ?><a href="<?=$this->recordLink()->getUrl($this->driver)?>" class="getFull" data-view="<?=$this->params->getOptions()->getListViewOption() ?>"><?php endif; ?>
<span class="title"><?=$this->translate($this->record($this->driver)->getTitleHtml())?></span>
<span class="title"><?=$this->translate($this->driver->getWholeTitle())?></span>
<?php if (!$missing): ?></a><?php endif; ?>
</div>
<?php
Expand Down
3 changes: 2 additions & 1 deletion templates/RecordTab/componentparts.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
foreach ($tabRes as $i => $current) {
$contentsData[$i] = $current->getContentsPiecesData();
$contentsData[$i]['url'] = $this->recordLink()->getUrl($current);
$contentsData[$i]['title_url'] = $this->record($current)->getTitleHtml();
//$contentsData[$i]['title_url'] = $this->record($current)->getTitleHtml();
$contentsData[$i]['title_url'] = $current->getWholeTitle();
}

usort($contentsData, function($a, $b) {
Expand Down
2 changes: 1 addition & 1 deletion templates/Related/Similar.phtml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<i class="fa fa-x<?php if (count($formats) > 0): ?> fa-<?=preg_replace('/[^a-z0-9]/', '', strtolower($formats[0]))?>" title="<?=$formats[0] ?><?php endif; ?>"></i>
<a href="<?=$this->recordLink()->getUrl($data)?>">
<?php // AK: Getting whole title (including part no. and part title) ?>
<?=$this->escapeHtml($data->getWholeTitle())?>
<?=$data->getWholeTitle()?>
</a>
<?php $authors = $data->getPrimaryAuthors(); if (!empty($authors)): ?>
<br/><?=$this->transEsc('by')?>: <?=$this->escapeHtml($authors[0]);?><?php if (count($authors) > 1): ?>, <?=$this->transEsc('more_authors_abbrev')?><?php endif; ?>
Expand Down

0 comments on commit 668f200

Please sign in to comment.