[Koha-patches] [PATCH] [SIGNED-OFF] Bug #6112 - Missing fields in overdues csv file

Christophe Croullebois christophe.croullebois at biblibre.com
Thu Apr 7 16:30:13 CEST 2011


From: Alex Arnaud <alex.arnaud at biblibre.com>


Signed-off-by: Christophe Croullebois <christophe.croullebois at biblibre.com>
---
 circ/overdue.pl |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/circ/overdue.pl b/circ/overdue.pl
index 3510a2b..f801644 100755
--- a/circ/overdue.pl
+++ b/circ/overdue.pl
@@ -229,7 +229,15 @@ if ($noreport) {
     $bornamefilter =~s/\?/\_/g;
 
     my $strsth="SELECT date_due,
+        borrowers.title as borrowertitle,
         concat(surname,' ', firstname) as borrower, 
+        borrowers.streetnumber,
+        borrowers.streettype, 
+        borrowers.address,
+        borrowers.address2,
+        borrowers.city,
+        borrowers.zipcode,
+        borrowers.country,
         borrowers.phone,
         borrowers.email,
         issues.itemnumber,
@@ -290,7 +298,15 @@ if ($noreport) {
             borrowernumber         => $data->{borrowernumber},
             barcode                => $data->{barcode},
             itemnum                => $data->{itemnumber},
+            borrowertitle          => $data->{borrowertitle},
             name                   => $data->{borrower},
+            streetnumber           => $data->{streetnumber},                   
+            streettype             => $data->{streettype},                     
+            address                => $data->{address},                        
+            address2               => $data->{address2},                       
+            city                   => $data->{city},                   
+            zipcode                => $data->{zipcode},                        
+            country                => $data->{country},
             phone                  => $data->{phone},
             email                  => $data->{email},
             biblionumber           => $data->{biblionumber},
-- 
1.7.0.4



More information about the Koha-patches mailing list