[Koha-patches] [PATCH] (bug #4051) add columns in csv export of overdues
Nahuel ANGELINETTI
nahuel.angelinetti at biblibre.com
Tue Jan 19 12:00:42 CET 2010
this patch add 2 columns in the csv export :
* item callnumber
* issue date
---
circ/overdue.pl | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/circ/overdue.pl b/circ/overdue.pl
index 2140206..2360028 100755
--- a/circ/overdue.pl
+++ b/circ/overdue.pl
@@ -121,7 +121,9 @@ my $strsth="SELECT date_due,
borrowers.phone,
borrowers.email,
issues.itemnumber,
+ issues.issuedate,
items.barcode,
+ items.itemcallnumber,
biblio.title,
biblio.author,
borrowers.borrowernumber,
@@ -155,10 +157,12 @@ $sth->execute();
my @overduedata;
while (my $data=$sth->fetchrow_hashref) {
push @overduedata, {
+ issuedate => format_date($data->{issuedate}),
duedate => format_date($data->{date_due}),
borrowernumber => $data->{borrowernumber},
barcode => $data->{barcode},
itemnum => $data->{itemnumber},
+ itemcallnumber => $data->{itemcallnumber},
name => $data->{borrower},
address => $data->{address},
city => $data->{city},
--
1.6.3.3
More information about the Koha-patches
mailing list