When you click to download the overdues report it doesn't include the names but the report does print names to the screen. Names should be in the downloaded file.
Created attachment 8685 [details] [review] 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.
Hi Kyle, I tested your patch and it works - I only think perhaps we can do it a bit better. I think having the name concatenated together is not really flexible for generating notices from this format or for sorting the data in a spreadsheet. Someone might want to generate notices using only the last name and borrowertitle. For this I propose a little different patch that gives 2 separate columns for first and last name.
Created attachment 8744 [details] [review] 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.
Created attachment 8777 [details] [review] [SIGNED-OFF] 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>
QA comment: tiny patch
*** Bug 7762 has been marked as a duplicate of this bug. ***
This bug will be included in the Koha 3.6.5 release.