Bugzilla – Attachment 6556 Details for
Bug 4051
add columns to overdues export
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 4051: adds issuedate column to overdues export
Bug-4051-adds-issuedate-column-to-overdues-export.patch (text/plain), 1.69 KB, created by
Chris Cormack
on 2011-12-04 02:23:05 UTC
(
hide
)
Description:
Bug 4051: adds issuedate column to overdues export
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-12-04 02:23:05 UTC
Size:
1.69 KB
patch
obsolete
>From e4a9addd072f3a1686915189f6a30a09296222ac Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Fri, 2 Dec 2011 10:46:29 +0100 >Subject: [PATCH] Bug 4051: adds issuedate column to overdues export > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > circ/overdue.pl | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > >diff --git a/circ/overdue.pl b/circ/overdue.pl >index dc15e8b..e755b12 100755 >--- a/circ/overdue.pl >+++ b/circ/overdue.pl >@@ -247,6 +247,7 @@ if ($noreport) { > borrowers.phone, > borrowers.email, > issues.itemnumber, >+ issues.issuedate, > items.barcode, > biblio.title, > biblio.author, >@@ -312,6 +313,7 @@ if ($noreport) { > borrowernumber => $data->{borrowernumber}, > barcode => $data->{barcode}, > itemnum => $data->{itemnumber}, >+ issuedate => format_date($data->{issuedate}), > borrowertitle => $data->{borrowertitle}, > name => $data->{borrower}, > streetnumber => $data->{streetnumber}, >@@ -399,7 +401,7 @@ sub build_csv { > > # build header ... > my @keys = qw /duedate title author borrowertitle name phone barcode email address address2 zipcode city country >- branchcode itemcallnumber biblionumber borrowernumber itemnum replacementprice streetnumber streettype/; >+ branchcode itemcallnumber biblionumber borrowernumber itemnum issuedate replacementprice streetnumber streettype/; > my $csv = Text::CSV_XS->new(); > $csv->combine(@keys); > push @lines, $csv->string(); >-- >1.7.5.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4051
:
5242
|
5243
|
6520
| 6556