Bugzilla – Attachment 88516 Details for
Bug 22696
Simplify visibility logic in opac-ISBDdetail.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22696: (follow-up) Use new relationship for prefetching
Bug-22696-follow-up-Use-new-relationship-for-prefe.patch (text/plain), 1.09 KB, created by
Martin Renvoize (ashimema)
on 2019-04-23 14:54:49 UTC
(
hide
)
Description:
Bug 22696: (follow-up) Use new relationship for prefetching
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-04-23 14:54:49 UTC
Size:
1.09 KB
patch
obsolete
>From 73b28b511712f1ced4af8b91efa5d43304977ed8 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 19 Apr 2019 11:29:49 -0300 >Subject: [PATCH] Bug 22696: (follow-up) Use new relationship for prefetching > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > opac/opac-ISBDdetail.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl >index 6b755d93df..f4868e099a 100755 >--- a/opac/opac-ISBDdetail.pl >+++ b/opac/opac-ISBDdetail.pl >@@ -45,7 +45,6 @@ use C4::Auth; > use C4::Context; > use C4::Output; > use CGI qw ( -utf8 ); >-use MARC::Record; > use C4::Biblio; > use C4::Items; > use C4::Reserves; >@@ -78,7 +77,7 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( > ); > > >-my $biblio = Koha::Biblios->find( $biblionumber, { prefetch => [ 'biblio_metadatas' ] } ); >+my $biblio = Koha::Biblios->find( $biblionumber, { prefetch => 'metadata' } ); > my $patron = Koha::Patrons->find($loggedinuser); > > my $opachiddenitems_rules; >-- >2.20.1
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 22696
:
87932
|
87938
|
88356
|
88376
|
88515
| 88516 |
88517