From fb96083492bd7e02d7201b458fab2d61cbda33ec Mon Sep 17 00:00:00 2001 From: Kyle M Hall 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