Bugzilla – Attachment 43137 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 - add itemtype
SIGNED-OFFBug-3642---New-informations-in-overdues-.patch (text/plain), 1.62 KB, created by
Héctor Eduardo Castro Avalos
on 2015-10-05 14:15:13 UTC
(
hide
)
Description:
[SIGNED-OFF]Bug 3642 - New informations in overdues CSV export - add itemtype
Filename:
MIME Type:
Creator:
Héctor Eduardo Castro Avalos
Created:
2015-10-05 14:15:13 UTC
Size:
1.62 KB
patch
obsolete
>From 8c36815c80b76d3c92d67989c485c334e60c8850 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 14 Aug 2015 12:20:43 +0200 >Subject: [PATCH] [SIGNED-OFF]Bug 3642 - New informations in overdues CSV > export - add itemtype > >This patch adds record itemtype to overdues CSV export, from item or biblioitems depending on syspref "item-level_itypes" > >Test plan : >- Go to overdues page : <server>/cgi-bin/koha/circ/overdue.pl >- Find some overdues >- Click on "Download file of displayed overdues" >- Open generated CSV >=> You see itemtype column with data > >Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> >Works as advertised. itemtype appered on CSV >--- > circ/overdue.pl | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/circ/overdue.pl b/circ/overdue.pl >index c8cf739..e3853da 100755 >--- a/circ/overdue.pl >+++ b/circ/overdue.pl >@@ -270,6 +270,8 @@ if ($noreport) { > items.barcode, > items.homebranch, > items.holdingbranch, >+ items.itype, >+ biblioitems.itemtype, > biblio.title, > biblio.author, > borrowers.borrowernumber, >@@ -371,6 +373,7 @@ if ($noreport) { > replacementprice => $data->{replacementprice}, > enumchron => $data->{enumchron}, > patron_attr_value_loop => \@patron_attr_value_loop, >+ itemtype => C4::Context->preference('item-level_itypes') ? $data->{itype} : $data->{itemtype}, > }; > } > >@@ -441,6 +444,7 @@ sub build_csv { > duedate > title > author >+ itemtype > cardnumber > borrowertitle > firstname >-- >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