Bugzilla – Attachment 6185 Details for
Bug 6926
overdue_notices don't send itemcount to notification
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6926 : overdue_notices don't send itemcount to notification
Bug-6926--overduenotices-dont-send-itemcount-to-no.patch (text/plain), 1.38 KB, created by
Chris Cormack
on 2011-11-04 08:34:16 UTC
(
hide
)
Description:
Bug 6926 : overdue_notices don't send itemcount to notification
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-11-04 08:34:16 UTC
Size:
1.38 KB
patch
obsolete
>From 772244421d6f70f9eb8cb75d08d221916bc16bef Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >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 <<count>> >flag. >If you use this flag in overdue_notices, it does not work, no number is >displayed. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > misc/cronjobs/overdue_notices.pl | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl >index 37774b5..295ca86 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<rary>'? >- 'items.content' => $titles >+ 'items.content' => $titles, >+ 'count' => $itemcount, > } > } > ); >-- >1.7.5.4
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 6926
:
5605
| 6185