From 452e8d3b6dc13b7d86776ee18f7fd831fd8bd935 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Sat, 11 Dec 2010 21:43:57 +0100 Subject: [PATCH] Bug 3009 - Change items.content field so it prints due date by default Content-Type: text/plain; charset="utf-8" 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 EEitems.contentEE 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