]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 13 Apr 2020 16:46:12 +0000 (16:46 +0000)
commit5d49c806445e00dd55259d805c7d88a73378e61f
tree884b54f6aa01ddb6a5d608e6a721396371d80c5e
parent22e48c05e2311539078ca0801dc6b4278cf2f58d
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>
(cherry picked from commit 5550da8a50dbb60fcad6ea2a43658938d1200803)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt
tools/batch_extend_due_dates.pl