Bugzilla – Attachment 81638 Details for
Bug 21694
Add the Koha::Account->lines method
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21694: Keep the context
Bug-21694-Keep-the-context.patch (text/plain), 949 bytes, created by
Martin Renvoize (ashimema)
on 2018-10-30 20:17:59 UTC
(
hide
)
Description:
Bug 21694: Keep the context
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2018-10-30 20:17:59 UTC
Size:
949 bytes
patch
obsolete
>From d13a5a0d29a51f76376102ada50dd063f799bc5a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 26 Oct 2018 15:08:51 -0300 >Subject: [PATCH] Bug 21694: Keep the context > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Account.pm | 6 ++---- > 1 file changed, 2 insertions(+), 4 deletions(-) > >diff --git a/Koha/Account.pm b/Koha/Account.pm >index ca7a8072d1..6f41b3bbd2 100644 >--- a/Koha/Account.pm >+++ b/Koha/Account.pm >@@ -535,13 +535,11 @@ Return all credits and debits for the user, outstanding or otherwise > sub lines { > my ($self) = @_; > >- my $lines = Koha::Account::Lines->search( >+ return Koha::Account::Lines->search( > { >- borrowernumber => $self->{patron_id}, >+ borrowernumber => $self->{patron_id}, > } > ); >- >- return $lines; > } > > 1; >-- >2.19.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 21694
:
81323
|
81324
|
81357
|
81358
|
81637
| 81638