Skip to content
Snippets Groups Projects
Commit eb0be43b authored by Gregor Gawol's avatar Gregor Gawol Committed by Dorian Merz
Browse files

refs #17132 [fid_bbi] display first 3 authors

parent c16cc0d2
Branches
Tags
No related merge requests found
...@@ -47,6 +47,8 @@ if ($cover): ...@@ -47,6 +47,8 @@ if ($cover):
<?=implode('<br>', array_map([$this, 'escapeHtml'], $this->driver->getSummary())); ?> <?=implode('<br>', array_map([$this, 'escapeHtml'], $this->driver->getSummary())); ?>
<?php else: ?> <?php else: ?>
<?php $summAuthors = $this->driver->getPrimaryAuthorsWithHighlighting(); <?php $summAuthors = $this->driver->getPrimaryAuthorsWithHighlighting();
/* #17132: display first 3 authors - GG */
$summAuthors = array_slice($summAuthors, 0, 3);
if (!empty($summAuthors)): ?> if (!empty($summAuthors)): ?>
<?=$this->transEsc('by')?> <?=$this->transEsc('by')?>
<?php $authorCount = count($summAuthors); <?php $authorCount = count($summAuthors);
......
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