Bugzilla – Attachment 85735 Details for
Bug 19489
Detailed description of charges on Accounting tab
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19489: (QA follow-up) Cache checkout object in variable
Bug-19489-QA-follow-up-Cache-checkout-object-in-va.patch (text/plain), 1.04 KB, created by
Kyle M Hall (khall)
on 2019-02-26 19:12:50 UTC
(
hide
)
Description:
Bug 19489: (QA follow-up) Cache checkout object in variable
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2019-02-26 19:12:50 UTC
Size:
1.04 KB
patch
obsolete
>From 51c6f3f2658f4ee69a185c069041f996cf886608 Mon Sep 17 00:00:00 2001 >From: Josef Moravec <josef.moravec@gmail.com> >Date: Mon, 25 Feb 2019 21:32:39 +0000 >Subject: [PATCH] Bug 19489: (QA follow-up) Cache checkout object in variable > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > Koha/Account/Line.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/Koha/Account/Line.pm b/Koha/Account/Line.pm >index e5b8d6cf02..50805e34c1 100644 >--- a/Koha/Account/Line.pm >+++ b/Koha/Account/Line.pm >@@ -64,9 +64,9 @@ sub checkout { > my ( $self ) = @_; > return unless $self->issue_id ; > >- my $checkout = Koha::Checkouts->find( $self->issue_id ); >- $checkout = Koha::Old::Checkouts->find( $self->issue_id ) unless $checkout; >- return $checkout; >+ $self->{_checkout} ||= Koha::Checkouts->find( $self->issue_id ); >+ $self->{_checkout} ||= Koha::Old::Checkouts->find( $self->issue_id ); >+ return $self->{_checkout}; > } > > =head3 void >-- >2.17.2 (Apple Git-113)
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 19489
:
81956
|
81989
|
81991
|
82519
|
82520
|
82614
|
82615
|
82846
|
83109
|
83110
|
83242
|
83276
|
83277
|
83299
|
83300
|
83301
|
83618
|
83619
|
83620
|
85236
|
85237
|
85275
|
85315
|
85668
|
85669
|
85670
|
85671
|
85672
|
85673
|
85674
|
85675
|
85731
|
85732
|
85733
|
85734
| 85735 |
85736
|
85737
|
85738