Bugzilla – Attachment 153049 Details for
Bug 33497
Reduce DB calls on staff detail page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33497: (follow-up) Adjust relationship name from bug 33493
Bug-33497-follow-up-Adjust-relationship-name-from-.patch (text/plain), 1.14 KB, created by
Jonathan Druart
on 2023-07-05 10:32:06 UTC
(
hide
)
Description:
Bug 33497: (follow-up) Adjust relationship name from bug 33493
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-07-05 10:32:06 UTC
Size:
1.14 KB
patch
obsolete
>From 275468982a3f133ba2c42a7f032fb7a63fd281d8 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 31 May 2023 12:06:20 +0000 >Subject: [PATCH] Bug 33497: (follow-up) Adjust relationship name from bug > 33493 > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > catalogue/detail.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index 6b06f286cd8..eb609bd6f2e 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -193,7 +193,7 @@ my $itemtypes = { map { $_->itemtype => $_ } @{ Koha::ItemTypes->search_with_loc > my $params; > my $patron = Koha::Patrons->find( $borrowernumber ); > $params->{ itemlost } = 0 if $patron->category->hidelostitems && !$showallitems; >-my $items = $biblio->items({ host_items => 1 })->search_ordered( $params, { prefetch => ['issue','branchtransfer'] } ); >+my $items = $biblio->items({ host_items => 1 })->search_ordered( $params, { prefetch => ['issue','current_branchtransfers'] } ); > > # flag indicating existence of at least one item linked via a host record > my $hostrecords = $biblio->host_items->count; >-- >2.25.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 33497
:
149467
|
149468
|
149573
|
149574
|
151861
|
151862
|
151863
|
151866
|
153046
|
153047
|
153048
| 153049 |
153183