From bb0328218974f59b8d952438a3cdd202adb13a0d 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 Signed-off-by: Marcel de Rooy Signed-off-by: Fridolin Somers --- opac/opac-detail.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index ff05ac64a5..1c705db734 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, itemdata_ccode => $itemfields{ccode}, itemdata_materials => $itemfields{materials}, -- 2.39.5