Bugzilla – Attachment 11822 Details for
Bug 8275
xml parsing error when the webservice GetPatronInfo/show_loans is called
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8275: xml parsing error when the webservice GetPatronInfo/show_loans is called
Bug-8275-xml-parsing-error-when-the-webservice-Get.patch (text/plain), 998 bytes, created by
Chris Cormack
on 2012-08-24 03:49:16 UTC
(
hide
)
Description:
Bug 8275: xml parsing error when the webservice GetPatronInfo/show_loans is called
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-08-24 03:49:16 UTC
Size:
998 bytes
patch
obsolete
>From bbf3cf6454fad2bf4a96d9dd719f1abbb3005532 Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Thu, 19 Jul 2012 11:37:16 +0200 >Subject: [PATCH] Bug 8275: xml parsing error when the webservice > GetPatronInfo/show_loans is called > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > C4/ILSDI/Services.pm | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 4eed936..12f869f 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -419,6 +419,10 @@ sub GetPatronInfo { > # Issues management > if ( $cgi->param('show_loans') eq "1" ) { > my $issues = GetPendingIssues($borrowernumber); >+ foreach my $issue ( @$issues ){ >+ $issue->{'issuedate'} = $issue->{'issuedate'}->strftime('%Y-%m-%d %H:%M'); >+ $issue->{'date_due'} = $issue->{'date_due'}->strftime('%Y-%m-%d %H:%M'); >+ } > $borrower->{'loans'}->{'loan'} = $issues; > } > >-- >1.7.9.5
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 8275
:
10999
| 11822