]> 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)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Wed, 15 Apr 2020 00:23:01 +0000 (12:23 +1200)
commit91faeb16bb0059fc694d40fae7b97c8317c4789f
tree851769154f133eaa99ed9dc6085a8d849076324f
parente41180c459f3f8adc5427ae95292b6aa78511f09
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>
(cherry picked from commit 5d49c806445e00dd55259d805c7d88a73378e61f)

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_extend_due_dates.tt
tools/batch_extend_due_dates.pl