Bugzilla – Attachment 126543 Details for
Bug 27266
Move C4::Biblio::GetMarcAuthors to Koha namespace
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27266: (follow-up) Remove get_marc_authors from opac-detail
Bug-27266-follow-up-Remove-getmarcauthors-from-opa.patch (text/plain), 1.45 KB, created by
Aleisha Amohia
on 2021-10-19 20:24:57 UTC
(
hide
)
Description:
Bug 27266: (follow-up) Remove get_marc_authors from opac-detail
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2021-10-19 20:24:57 UTC
Size:
1.45 KB
patch
obsolete
>From 9af6571f4fe202fc579aa8256f1b7abffa311a18 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >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 <david@davidnind.com> >--- > opac/opac-detail.pl | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl >index 9effa3e83d..fc2cfd64b3 100755 >--- a/opac/opac-detail.pl >+++ b/opac/opac-detail.pl >@@ -784,7 +784,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; >@@ -800,7 +799,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.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 27266
:
114503
|
114580
|
117239
|
118311
|
118312
|
123017
|
123018
|
123019
|
123026
|
123027
|
123028
|
123067
|
125440
|
125441
|
125442
|
125443
|
125444
|
125465
|
125466
|
125467
|
125468
|
125469
|
125719
|
125720
|
125721
|
125722
|
125723
|
126539
|
126540
|
126541
|
126542
|
126543
|
127330
|
127331
|
127332
|
127333
|
127334
|
127335
|
127336
|
127337
|
127340
|
127341
|
127342
|
127561
|
127562
|
127563
|
127564
|
127565
|
127566
|
127567
|
127568