From ec8b0982879c1b9e024c911e9f62b8d8c7511f40 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 14 Aug 2015 12:43:10 +0200 Subject: [PATCH] Bug 3642 - New informations in overdues CSV export - move streetnumber and streettype This patch moves columns streetnumber and streettype next to address. This is more logical to read the CSV. For example : streetnumber,streettype,address,address2,zipcode,city 181,rue,Breteuil,,13001,Marseille Test plan : - Go to overdues page : /cgi-bin/koha/circ/overdue.pl - Find some overdues of patrons with streetnumber and streettype - Click on "Download file of displayed overdues" - Open generated CSV => You see streetnumber and streettype before address --- circ/overdue.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/circ/overdue.pl b/circ/overdue.pl index e3853da..3c55de0 100755 --- a/circ/overdue.pl +++ b/circ/overdue.pl @@ -452,6 +452,8 @@ sub build_csv { phone barcode email + streetnumber + streettype address address2 zipcode @@ -464,8 +466,6 @@ sub build_csv { itemnum issuedate replacementprice - streetnumber - streettype }; my $csv = Text::CSV_XS->new(); -- 2.1.0