Bugzilla – Attachment 81050 Details for
Bug 21486
SIP does not return checked out (charged) items on patron_information request
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21486: Fix 'AU' for SIP
Bug-21486-Fix-AU-for-SIP.patch (text/plain), 1.22 KB, created by
Josef Moravec
on 2018-10-24 06:31:07 UTC
(
hide
)
Description:
Bug 21486: Fix 'AU' for SIP
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-10-24 06:31:07 UTC
Size:
1.22 KB
patch
obsolete
>From 3cdafcb1e80452694089d13bc9046d6da7c61506 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 12 Oct 2018 12:47:04 -0300 >Subject: [PATCH] Bug 21486: Fix 'AU' for SIP > >Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com> >Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > C4/SIP/ILS/Patron.pm | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/C4/SIP/ILS/Patron.pm b/C4/SIP/ILS/Patron.pm >index 9b8cb53..01bac98 100644 >--- a/C4/SIP/ILS/Patron.pm >+++ b/C4/SIP/ILS/Patron.pm >@@ -130,7 +130,13 @@ sub new { > > # FIXME: populate fine_items recall_items > $ilspatron{unavail_holds} = _get_outstanding_holds($kp->{borrowernumber}); >- $ilspatron{items} = $patron->pending_checkouts->unblessed; >+ my $pending_checkouts = $patron->pending_checkouts; >+ my @items_infos; >+ while ( my $c = $pending_checkouts->next ) { >+ push @items_infos, $c->unblessed_all_relateds; >+ } >+ $ilspatron{items} = \@items_infos; >+ > $self = \%ilspatron; > $debug and warn Dumper($self); > syslog("LOG_DEBUG", "new ILS::Patron(%s): found patron '%s'", $patron_id,$self->{id}); >-- >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 21486
:
80251
|
80522
|
80655
|
80729
|
80730
|
80976
|
81001
|
81002
| 81050 |
81051