Bugzilla – Attachment 71857 Details for
Bug 12001
GetMemberAccountRecords slows down display of patron details and checkout pages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12001: (QA follow-up) Explicit return
Bug-12001-QA-follow-up-Explicit-return.patch (text/plain), 679 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2018-02-16 18:23:06 UTC
(
hide
)
Description:
Bug 12001: (QA follow-up) Explicit return
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2018-02-16 18:23:06 UTC
Size:
679 bytes
patch
obsolete
>From 4d4b2bf1c4594662b32ed4ddd6f23db571911ead Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 16 Feb 2018 15:05:30 -0300 >Subject: [PATCH] Bug 12001: (QA follow-up) Explicit return > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Account.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Account.pm b/Koha/Account.pm >index 3e3d76adeb..477e7a9325 100644 >--- a/Koha/Account.pm >+++ b/Koha/Account.pm >@@ -281,7 +281,7 @@ sub balance { > } > ); > >- my $total = $fines->count >+ return ( $fines->count ) > ? $fines->next->get_column('total_amountoutstanding') + 0 > : 0; > } >-- >2.14.1
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 12001
:
70314
|
70342
|
70343
|
70344
|
70345
|
70346
|
71798
|
71799
|
71800
|
71801
|
71802
|
71852
|
71853
|
71854
|
71855
|
71856
|
71857
|
71979
|
71980
|
71981
|
71982
|
71983
|
71984
|
71985
|
71986
|
71987
|
71988
|
77066
|
77136
|
77278
|
77279