Bugzilla – Attachment 41490 Details for
Bug 3642
New information in overdues CSV export
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 3642 - New informations in overdues CSV export - prepare
Bug-3642---New-informations-in-overdues-CSV-export.patch (text/plain), 1.44 KB, created by
Fridolin Somers
on 2015-08-14 10:50:34 UTC
(
hide
)
Description:
Bug 3642 - New informations in overdues CSV export - prepare
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2015-08-14 10:50:34 UTC
Size:
1.44 KB
patch
obsolete
>From 175556f8a7e367f84cdcf71d15b604d414b17ac2 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 14 Aug 2015 12:28:21 +0200 >Subject: [PATCH] Bug 3642 - New informations in overdues CSV export - prepare > >This patch prepare columns list to ease other patches >--- > circ/overdue.pl | 29 ++++++++++++++++++++++++++--- > 1 file changed, 26 insertions(+), 3 deletions(-) > >diff --git a/circ/overdue.pl b/circ/overdue.pl >index 01a80d2..7418a99 100755 >--- a/circ/overdue.pl >+++ b/circ/overdue.pl >@@ -437,11 +437,34 @@ sub build_csv { > return "" if scalar(@$overdues) == 0; > > my @lines = (); >+ my @keys = qw{ >+ duedate >+ title >+ author >+ borrowertitle >+ firstname >+ surname >+ phone >+ barcode >+ email >+ address >+ address2 >+ zipcode >+ city >+ country >+ branchcode >+ itemcallnumber >+ biblionumber >+ borrowernumber >+ itemnum >+ issuedate >+ replacementprice >+ streetnumber >+ streettype >+ }; >+ my $csv = Text::CSV_XS->new(); > > # build header ... >- my @keys = qw /duedate title author borrowertitle firstname surname phone barcode email address address2 zipcode city country >- branchcode itemcallnumber biblionumber borrowernumber itemnum issuedate replacementprice streetnumber streettype/; >- my $csv = Text::CSV_XS->new(); > $csv->combine(@keys); > push @lines, $csv->string(); > >-- >2.1.0
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 3642
:
41490
|
41491
|
41492
|
41493
|
43135
|
43136
|
43137
|
43138