Bugzilla – Attachment 70982 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: QA Followup - use patron checkouts method instead of Koha::Checkouts
Bug-20003-QA-Followup---use-patron-checkouts-metho.patch (text/plain), 1.13 KB, created by
Nick Clemens
on 2018-01-26 21:06:39 UTC
(
hide
)
Description:
Bug 20003: QA Followup - use patron checkouts method instead of Koha::Checkouts
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2018-01-26 21:06:39 UTC
Size:
1.13 KB
patch
obsolete
>From deedbe6224748917fd73826c2bfaed1b8d675607 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 26 Jan 2018 21:05:39 +0000 >Subject: [PATCH] Bug 20003: QA Followup - use patron checkouts method instead > of Koha::Checkouts > >--- > circ/returns.pl | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index fab6bc2..247a71e 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -50,7 +50,6 @@ use Koha::AuthorisedValues; > use Koha::DateUtils; > use Koha::Calendar; > use Koha::BiblioFrameworks; >-use Koha::Checkouts; > use Koha::Holds; > use Koha::Items; > use Koha::Patrons; >@@ -596,7 +595,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 => $patron->borrowernumber } ); >+ $ri{borissuescount} = $patron->checkouts->count; > } > 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