Bugzilla – Attachment 8685 Details for
Bug 7482
overdues report downloads without names
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7482 - overdues report downloads without names
Bug-7482---overdues-report-downloads-without-names.patch (text/plain), 1.33 KB, created by
Kyle M Hall
on 2012-03-29 13:33:30 UTC
(
hide
)
Description:
Bug 7482 - overdues report downloads without names
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2012-03-29 13:33:30 UTC
Size:
1.33 KB
patch
obsolete
>From fb96083492bd7e02d7201b458fab2d61cbda33ec Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 29 Mar 2012 09:30:15 -0400 >Subject: [PATCH] Bug 7482 - overdues report downloads without names > >This bug is caused by the build_csv subroutine in >overdue.pl using the hash key 'name' for the name field >which does not exist. > >Fixed by adding the name field as a concatenation of >firstname and surname to the loop that builds the array of >hashrefs, @overduedata. It will be ignored by the Koha 'html' >view of the overdue data and will only be used when exporting >overdues to csv. >--- > circ/overdue.pl | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/circ/overdue.pl b/circ/overdue.pl >index a4cfa7a..05b6aa2 100755 >--- a/circ/overdue.pl >+++ b/circ/overdue.pl >@@ -340,6 +340,7 @@ if ($noreport) { > borrowertitle => $data->{borrowertitle}, > surname => $data->{surname}, > firstname => $data->{firstname}, >+ name => $data->{firstname} . ' ' . $data->{surname}, > streetnumber => $data->{streetnumber}, > streettype => $data->{streettype}, > address => $data->{address}, >-- >1.7.2.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 7482
:
8685
|
8744
|
8777