Bug 11209: (follow-up) check if a notice has been already sent today
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 3 Dec 2013 11:17:50 +0000 (12:17 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 5 May 2014 15:16:57 +0000 (15:16 +0000)
commit0a366e19decc8bf8d8d9ecf854e10ce3d3a19363
tree489a11d249cbfc174d241b916738db15302c0d7a
parent159e99f3bc90f0e9463a6e8a96ae477d762625ee
Bug 11209: (follow-up) check if a notice has been already sent today

The previous patch checks if a notice has already been sent when the
current notices has been sent in queue. Which is wrong!
We have to check if a similar notice has been sent today.

This patch has been created after an observation on a production server:
If a user place on holds several items, he will receive 1 SMS per hold.
Here we only want 1 SMS for all holds.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
C4/Letters.pm