Bugzilla – Attachment 71984 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), 728 bytes, created by
Josef Moravec
on 2018-02-20 05:09:06 UTC
(
hide
)
Description:
Bug 12001: (QA follow-up) Explicit return
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-02-20 05:09:06 UTC
Size:
728 bytes
patch
obsolete
>From 9fed9b2e36b2b9d79fcd3c4cdc669b60af4d8bc9 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> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > Koha/Account.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Account.pm b/Koha/Account.pm >index 3e3d76a..477e7a9 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.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 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