Bugzilla – Attachment 94537 Details for
Bug 23414
Improve performance of C4/XSLT/buildKohaItemsNamespace
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23414: Use Koha::Holds->waiting
Bug-23414-Use-KohaHolds-waiting.patch (text/plain), 734 bytes, created by
Jonathan Druart
on 2019-10-22 12:20:52 UTC
(
hide
)
Description:
Bug 23414: Use Koha::Holds->waiting
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-10-22 12:20:52 UTC
Size:
734 bytes
patch
obsolete
>From 2c83ff849fab9d20b8d700a0317ecc30fcbb41cf Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 22 Oct 2019 14:20:14 +0200 >Subject: [PATCH] Bug 23414: Use Koha::Holds->waiting > >--- > C4/XSLT.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/XSLT.pm b/C4/XSLT.pm >index 800efbd358..5bcf28d5dc 100644 >--- a/C4/XSLT.pm >+++ b/C4/XSLT.pm >@@ -332,7 +332,7 @@ sub buildKohaItemsNamespace { > elsif ($item->get_transfer) { > $status = 'In transit'; > } >- elsif ( $item->holds({found =>'W'}) ) { >+ elsif ( $item->holds->waiting() ) { > $status = 'Waiting'; > } > elsif ($item->has_pending_hold) { >-- >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 23414
:
91913
|
91914
|
91915
|
94537
|
94580
|
94581
|
95010
|
95011
|
95012
|
95014
|
95015
|
95069
|
95070
|
95071
|
95072
|
95073
|
95083
|
95084
|
95085
|
95086
|
95087
|
95088
|
95089