From 769fd0d3ffb2bfba273b855fb400861d76a29928 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Thu, 30 Sep 2021 11:31:45 +1300 Subject: [PATCH] Bug 27266: (follow-up) Remove get_marc_authors from opac-detail There's no way to use 'no' XSLT now, so don't need to use this to show authors on the detail page. Signed-off-by: David Nind --- opac/opac-detail.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index d51a1c4da3..1a7623e77b 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -792,7 +792,6 @@ if (scalar(@itemloop) == 0 || scalar(@otheritemloop) == 0) { } my $marcnotesarray = $biblio->get_marc_notes({ marcflavour => $marcflavour, opac => 1 }); -my $marcauthorsarray = $biblio->get_marc_authors; if( C4::Context->preference('ArticleRequests') ) { my $patron = $borrowernumber ? Koha::Patrons->find($borrowernumber) : undef; @@ -807,7 +806,6 @@ if( C4::Context->preference('ArticleRequests') ) { $template->param( MARCNOTES => $marcnotesarray, - MARCAUTHORS => $marcauthorsarray, norequests => $norequests, RequestOnOpac => C4::Context->preference("RequestOnOpac"), itemdata_ccode => $itemfields{ccode}, -- 2.20.1