Bug 14916: Display overdues if due on 23:59
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 28 Sep 2015 14:44:30 +0000 (16:44 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 19 Oct 2015 14:50:37 +0000 (11:50 -0300)
commit52bbc941ea766a4dad32b602d205b37339dc77ba
tree1e35cd7f115a40c4c2ead5c5af816d8b21cca4a9
parent1c04583f6070fe62b791188740fd9ae08daf6f90
Bug 14916: Display overdues if due on 23:59

If an item is due today 23:59 and the filter is from yesterday
to today, the overdue won't appear on the list.

Test plan:
Be sure you have an item due on DATE 23:59
Search for overdues from DATE-1 to DATE
Without this patch, the item won't appear.
With this patch, it will.

Regression test: test the CSV download.

Note: On the way, this patch remove the deps to C4::Dates
(which was the original goal of the bug report).

Issue reproduced, it's resolved with this patch.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
circ/overdue.pl
koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt