Bugzilla – Attachment 186071 Details for
Bug 28702
Improve performance of C4/XSLT/buildKohaItemsNamespace
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 28702: Don't fetch the transfer, knowing we have current transfers is enough
Bug-28702-Dont-fetch-the-transfer-knowing-we-have-.patch (text/plain), 1.04 KB, created by
Nick Clemens (kidclamp)
on 2025-09-03 13:38:49 UTC
(
hide
)
Description:
Bug 28702: Don't fetch the transfer, knowing we have current transfers is enough
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2025-09-03 13:38:49 UTC
Size:
1.04 KB
patch
obsolete
>From ad7c9f807cef3b8adef6ef8f9ae0b3b02e4e2961 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 3 Sep 2025 13:38:09 +0000 >Subject: [PATCH] Bug 28702: Don't fetch the transfer, knowing we have current > transfers is enough > >We don't use the specific transfer, so the count should be sufficient >--- > C4/XSLT.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index 7cac9f8c743..6dda8d96f3f 100644 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -337,7 +337,7 @@ sub buildKohaItemsNamespace { > } elsif ( $item->_result->reserves->count && $item->holds->waiting->count ) { > $status = 'other'; > $substatus = 'Hold waiting'; >- } elsif ( $item->_result->current_branchtransfers->count && $item->get_transfer ) { >+ } elsif ( $item->_result->current_branchtransfers->count ) { > $status = 'other'; > $substatus = 'In transit'; > } elsif ( $item->damaged && !C4::Context->preference('AllowHoldsOnDamagedItems') ) { >-- >2.39.5
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 28702
:
122785
|
122786
|
137939
|
137940
|
138459
|
138468
|
186070
|
186071
|
186192
|
186193