Bug 6926

Summary: overdue_notices don't send itemcount to notification
Product: Koha Reporter: Paul Poulain <paul.poulain>
Component: Command-line UtilitiesAssignee: Paul Poulain <paul.poulain>
Status: CLOSED FIXED QA Contact: Marcel de Rooy <m.de.rooy>
Severity: normal    
Priority: PATCH-Sent (DO NOT USE) CC: chris, m.de.rooy
Version: 3.6   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 6926 : overdue_notices don't send itemcount to notification
Bug 6926 : overdue_notices don't send itemcount to notification

Description Paul Poulain 2011-09-27 13:12:09 UTC
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.

Step to reproduce :
Attach the default DUEDGST notification to overdue rules, and run
advanced_notices.pl -n,
You should see something like :
You have  items due
instead of 
You have 2 items due
(2, or 1, or 3, or whatever you've overdue)
Comment 1 Paul Poulain 2011-09-27 13:14:32 UTC Comment hidden (obsolete)
Comment 2 Chris Cormack 2011-11-04 08:34:16 UTC
Created attachment 6185 [details] [review]
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>
Comment 3 Marcel de Rooy 2011-12-01 08:47:22 UTC
QA: Looks good. Updated patch status.
Comment 4 Paul Poulain 2011-12-03 06:50:48 UTC
patch pushed, please test
Comment 5 Jared Camins-Esakov 2012-05-23 12:47:19 UTC
This was included in the 3.6 branch prior to 3.6.4.