Bugzilla – Attachment 59063 Details for
Bug 17919
circ/returns.pl caught in Object Name crossfire
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17919: Koha::Issue is now called Koha::Checkout
Bug-17919-KohaIssue-is-now-called-KohaCheckout.patch (text/plain), 1.47 KB, created by
Claire Gravely
on 2017-01-17 07:30:08 UTC
(
hide
)
Description:
Bug 17919: Koha::Issue is now called Koha::Checkout
Filename:
MIME Type:
Creator:
Claire Gravely
Created:
2017-01-17 07:30:08 UTC
Size:
1.47 KB
patch
obsolete
>From 24d1464799eba2be98047654ad1980c6e257aace Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Tue, 17 Jan 2017 06:28:25 +0000 >Subject: [PATCH] Bug 17919: Koha::Issue is now called Koha::Checkout > >Ignoring the pluralization or lack thereof: >$ git grep "Koha::Issue" >-- This has results. >But this was renamed by 17796, and supposedly still >in discussion in 16870. > >apply this patch, and do the same git. >There will be no results. > >This was found while running a prove t/db_dependent/00-strict.t > >Signed-off-by: Claire Gravely <claire_gravely@hotmail.com> >--- > circ/returns.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/circ/returns.pl b/circ/returns.pl >index 3794c99..de701ff 100755 >--- a/circ/returns.pl >+++ b/circ/returns.pl >@@ -50,7 +50,7 @@ use C4::RotatingCollections; > use Koha::AuthorisedValues; > use Koha::DateUtils; > use Koha::Calendar; >-use Koha::Issues; >+use Koha::Checkouts; > > my $query = new CGI; > >@@ -579,7 +579,7 @@ foreach ( sort { $a <=> $b } keys %returneditems ) { > $ri{bortitle} = $b->{'title'}; > $ri{bornote} = $b->{'borrowernotes'}; > $ri{borcategorycode}= $b->{'categorycode'}; >- $ri{borissuescount} = Koha::Issues->count( { borrowernumber => $b->{'borrowernumber'} } ); >+ $ri{borissuescount} = Koha::Checkouts->count( { borrowernumber => $b->{'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 17919
:
59059
|
59063
|
59068