From f4fd69ce27abeafce9b55b656c4bc7d614706a09 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 Content-Type: text/plain; charset=utf-8 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 Signed-off-by: Marcel de Rooy --- opac/opac-detail.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index d114247da4..b15f049d20 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -783,7 +783,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; @@ -799,7 +798,6 @@ if( C4::Context->preference('ArticleRequests') ) { my $norequests = ! $biblio->items->filter_by_for_hold->count; $template->param( MARCNOTES => $marcnotesarray, - MARCAUTHORS => $marcauthorsarray, norequests => $norequests, RequestOnOpac => C4::Context->preference("RequestOnOpac"), itemdata_ccode => $itemfields{ccode}, -- 2.20.1