[Koha-patches] [PATCH] Bug 3009 - Change items.content field so it prints due date by default

Katrin Fischer Katrin.Fischer.83 at web.de
Sat Dec 11 21:46:53 CET 2010


<items.content> in overdue notices prints issuedate instead of duedate by default.
This patch changes default to issues.date_due.
---
 misc/cronjobs/overdue_notices.pl |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl
index 92bc786..671368e 100755
--- a/misc/cronjobs/overdue_notices.pl
+++ b/misc/cronjobs/overdue_notices.pl
@@ -112,9 +112,9 @@ directory. This can be downloaded or futher processed by library staff.
 
 comma separated list of fields that get substituted into templates in
 places of the E<lt>E<lt>items.contentE<gt>E<gt> placeholder. This
-defaults to issuedate,title,barcode,author
+defaults to due date,title,barcode,author
 
-Other possible values come from fields in the biblios, items, and
+Other possible values come from fields in the biblios, items and
 issues tables.
 
 =item B<-borcat>
@@ -255,7 +255,7 @@ my $csvfilename;
 my $htmlfilename;
 my $triggered = 0;
 my $listall = 0;
-my $itemscontent = join( ',', qw( issuedate title barcode author itemnumber ) );
+my $itemscontent = join( ',', qw( date_due title barcode author itemnumber ) );
 my @myborcat;
 my @myborcatout;
 
-- 
1.7.1



More information about the Koha-patches mailing list