From eb0be43b680a887f58797da7b559b8f8a7827b67 Mon Sep 17 00:00:00 2001
From: Gregor Gawol <gawol@ub.uni-leipzig.de>
Date: Wed, 11 Mar 2020 14:12:56 +0100
Subject: [PATCH] refs #17132 [fid_bbi] display first 3 authors

---
 .../templates/RecordDriver/DefaultRecord/result-list.phtml      | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml b/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml
index 4f2f10f03d6..7d2f450b5b1 100644
--- a/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml
+++ b/themes/fid_bbi/templates/RecordDriver/DefaultRecord/result-list.phtml
@@ -47,6 +47,8 @@ if ($cover):
           <?=implode('<br>', array_map([$this, 'escapeHtml'], $this->driver->getSummary())); ?>
         <?php else: ?>
           <?php $summAuthors = $this->driver->getPrimaryAuthorsWithHighlighting();
+          /* #17132: display first 3 authors - GG */
+          $summAuthors = array_slice($summAuthors, 0, 3);
           if (!empty($summAuthors)): ?>
             <?=$this->transEsc('by')?>
             <?php $authorCount = count($summAuthors);
-- 
GitLab