Bugzilla – Attachment 81327 Details for
Bug 21681
Remove C4::Accounts::getcharges
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21681: Improve the account lines fetch
Bug-21681-Improve-the-account-lines-fetch.patch (text/plain), 987 bytes, created by
Jonathan Druart
on 2018-10-26 18:27:53 UTC
(
hide
)
Description:
Bug 21681: Improve the account lines fetch
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-10-26 18:27:53 UTC
Size:
987 bytes
patch
obsolete
>From 0f1458653703b9dd0e40b9b3991513d680d11af7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 26 Oct 2018 15:19:36 -0300 >Subject: [PATCH] Bug 21681: Improve the account lines fetch > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > C4/ILSDI/Services.pm | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 53465caa9d..689973ea3e 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -425,11 +425,7 @@ sub GetPatronInfo { > > # Fines management > if ( $cgi->param('show_fines') && $cgi->param('show_fines') eq "1" ) { >- >- my $account_lines = $patron->account->lines; >- while (my $line = $account_lines->next ) { >- push @{ $borrower->{fines}{fine} }, $line->unblessed; >- } >+ $borrower->{fines}{fine} = $patron->account->lines->unblessed; > } > > # Reserves management >-- >2.11.0
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 21681
:
81269
|
81298
|
81306
|
81322
|
81325
|
81326
|
81327
|
81329
|
81330
|
81331