Bugzilla – Attachment 10999 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]
Proposed patch (dates with hour)
Bug-8275-xml-parsing-error-when-the-webservice-GetPa.patch (text/plain), 946 bytes, created by
Fridolin Somers
on 2012-07-19 09:49:41 UTC
(
hide
)
Description:
Proposed patch (dates with hour)
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2012-07-19 09:49:41 UTC
Size:
946 bytes
patch
obsolete
>From 78794649357b64f77bd9cb25edbc186d0d32b662 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 > >--- > 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