Bug 27266: (follow-up) Remove get_marc_authors from opac-detail
authorAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 29 Sep 2021 22:31:45 +0000 (11:31 +1300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 15 Dec 2021 22:15:12 +0000 (12:15 -1000)
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 <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-detail.pl

index ff05ac6..1c705db 100755 (executable)
@@ -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},