]> git.koha-community.org Git - koha.git/commit
Bug 15240: Do not process issues with a date due later than today
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 9 Dec 2015 11:10:33 +0000 (11:10 +0000)
committerFrédéric Demians <f.demians@tamil.fr>
Thu, 11 Feb 2016 18:21:30 +0000 (19:21 +0100)
commit153877f10fd615213fb22f850965ca374b8c02c8
treec8bdf1761686779c3b626a5b2cbe297aadbf24de
parent7ab00713f020761fe40abce1f5f4ba55f613437c
Bug 15240: Do not process issues with a date due later than today

There is no need to do this job in Perl, MySQL could do it instead.
The idea is to only retrieve the issues info which could be overdued.

To test:
1/ Run the script
2/ Apply the patch
3/ Run the script again, notice the exact same results but execution time is faster

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 0d36c27678a6968304990759657e2312338763eb)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit e46923af8829f7da9eb3b94e89831b32e68df040)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
misc/cronjobs/overdue_notices.pl