Bugzilla – Attachment 41492 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 - add itemtype
Bug-3642---New-informations-in-overdues-CSV-export.patch (text/plain), 1.50 KB, created by
Fridolin Somers
on 2015-08-14 10:51:19 UTC
(
hide
)
Description:
Bug 3642 - New informations in overdues CSV export - add itemtype
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2015-08-14 10:51:19 UTC
Size:
1.50 KB
patch
obsolete
>From af8aa1fd0e7db44db8a9583a31d08b19c6e43748 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] 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 >--- > 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 >-- >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