Bug 3009 - Change items.content field so it prints due date by default
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sat, 11 Dec 2010 20:43:57 +0000 (21:43 +0100)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Wed, 9 Feb 2011 17:27:14 +0000 (12:27 -0500)
<items.content> in overdue notices prints issuedate instead of duedate by default.
This patch changes default to issues.date_due.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 224d2dee90237670672a7f2b212d5333852dd41f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
misc/cronjobs/overdue_notices.pl

index 92bc786..671368e 100755 (executable)
@@ -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;