Bug 7482: overdues report downloads without names

This patch is an alternate patch for the bug. Instead of having
one column 'name' for a concatenated first and last name it
adds 2 separate columns to the exported csv file.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
This commit is contained in:
Katrin Fischer 2012-04-01 18:20:05 +02:00 committed by Paul Poulain
parent 9db202af0d
commit 45b26ffe98

View file

@ -425,7 +425,7 @@ sub build_csv {
my @lines = ();
# build header ...
my @keys = qw /duedate title author borrowertitle name phone barcode email address address2 zipcode city country
my @keys = qw /duedate title author borrowertitle firstname surname phone barcode email address address2 zipcode city country
branchcode itemcallnumber biblionumber borrowernumber itemnum issuedate replacementprice streetnumber streettype/;
my $csv = Text::CSV_XS->new();
$csv->combine(@keys);