]> git.koha-community.org Git - koha.git/commit
Bug 25020: Preserve time part when batch extending due dates
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 30 Mar 2020 14:11:51 +0000 (16:11 +0200)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 3 Apr 2020 19:29:43 +0000 (19:29 +0000)
commit5550da8a50dbb60fcad6ea2a43658938d1200803
tree8ea1c82c2494fb72d71795db90413e6b3a9864f5
parentd4db0b96e8753b1b213b6a2efeea7a61baf0ac7e
Bug 25020: Preserve time part when batch extending due dates

When selecting a new hard due date, we should keep the time part of the
original checkouts.

Test plan:
1 - Checkout an item specifying a date due
2 - Checkout an item without specifying a date due
3 - Use Tools->Batch extend due date
4 - Select a hard due date
5 - On the confirmation screen you should see that the time part has
been kept
6 - Confirm
7 - Make sure the correct values hava been inserted in DB
8 - Try now using the other option, give a number of days
9 - Repeat 4-7

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt
tools/batch_extend_due_dates.pl