From 6d8ea304010ce1ad249281d2544c67fd5f1e3ae9 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Tue, 27 Sep 2011 15:13:01 +0200 Subject: [PATCH] Bug 6926 : overdue_notices don't send itemcount to notification In advanced_notices.pl you can return the number of due items using <> flag. If you use this flag in overdue_notices, it does not work, no number is displayed. Signed-off-by: Chris Cormack Signed-off-by: Paul Poulain --- misc/cronjobs/overdue_notices.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl index 5646efc15c..5347f69374 100755 --- a/misc/cronjobs/overdue_notices.pl +++ b/misc/cronjobs/overdue_notices.pl @@ -504,7 +504,8 @@ END_SQL items => \@items, substitute => { # this appears to be a hack to overcome incomplete features in this code. bib => $branch_details->{'branchname'}, # maybe 'bib' is a typo for 'lib'? - 'items.content' => $titles + 'items.content' => $titles, + 'count' => $itemcount, } } ); -- 2.39.5