Bugzilla – Attachment 70981 Details for
Bug 20003
Result summary of remaining checkouts items not displaying.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20003: Fix showing number of remaining checkouts during checking in
Bug-20003-Fix-showing-number-of-remaining-checkout.patch (text/plain), 1.32 KB, created by
Nick Clemens (kidclamp)
on 2018-01-26 21:03:35 UTC
(
hide
)
Description:
Bug 20003: Fix showing number of remaining checkouts during checking in
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-01-26 21:03:35 UTC
Size:
1.32 KB
patch
obsolete
>From 502cf43556731ff18b314d27777ead6d685ded60 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Thu, 18 Jan 2018 07:56:15 +0000 >Subject: [PATCH] Bug 20003: Fix showing number of remaining checkouts during > checking in > >Test plan: >0) Do not apply the patch >1) Have a patron with more then one checkout >2) Return one of patron's checkout and confirm the remaining number of >checkout is not shown >3) Apply the patch >4) Try it again and confirm the number is now shown > >Signed-off-by: Roch D'Amour <roch.damour@inlibro.com> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > circ/returns.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 677c91e..fab6bc2 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -596,7 +596,7 @@ foreach ( sort { $a <=> $b } keys %returneditems ) { > $ri{bortitle} = $patron->title; > $ri{bornote} = $patron->borrowernotes; > $ri{borcategorycode}= $patron->categorycode; >- $ri{borissuescount} = Koha::Checkouts->count( { borrowernumber => $b->{'borrowernumber'} } ); >+ $ri{borissuescount} = Koha::Checkouts->count( { borrowernumber => $patron->borrowernumber } ); > } > else { > $ri{borrowernumber} = $riborrowernumber{$_}; >-- >2.1.4
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 20003
:
70602
|
70681
|
70778
| 70981 |
70982