Bugzilla – Attachment 43135 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]
[SIGNED-OFF]Bug 3642 - New informations in overdues CSV export - prepare
SIGNED-OFFBug-3642---New-informations-in-overdues-.patch (text/plain), 1.51 KB, created by
Héctor Eduardo Castro Avalos
on 2015-10-05 14:14:40 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 3642 - New informations in overdues CSV export - prepare
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2015-10-05 14:14:40 UTC
Size:
1.51 KB
patch
obsolete
>From 4d9adb6a1eea41c79b8d4ef1430cc209e85ebb8a 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] [SIGNED-OFF]Bug 3642 - New informations in overdues CSV > export - prepare > >This patch prepare columns list to ease other patches > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >--- > 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(); > >-- >1.7.10.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 3642
:
41490
|
41491
|
41492
|
41493
| 43135 |
43136
|
43137
|
43138