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:
parent
9db202af0d
commit
45b26ffe98
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ sub build_csv {
|
||||||
my @lines = ();
|
my @lines = ();
|
||||||
|
|
||||||
# build header ...
|
# 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/;
|
branchcode itemcallnumber biblionumber borrowernumber itemnum issuedate replacementprice streetnumber streettype/;
|
||||||
my $csv = Text::CSV_XS->new();
|
my $csv = Text::CSV_XS->new();
|
||||||
$csv->combine(@keys);
|
$csv->combine(@keys);
|
||||||
|
|
Loading…
Reference in a new issue