]> git.koha-community.org Git - koha.git/commit
Bug 16527: Restore sticky due date behavior
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 21 May 2016 08:10:46 +0000 (09:10 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Tue, 16 Aug 2016 12:20:28 +0000 (14:20 +0200)
commitb3266093f8c9e2d989dfc13a566958d617fafd26
tree0f0923920f9ee2ee90f6430346c23bf92f6a1984
parent60d5763fa8aca34880bef4ee1d19ae3a110f0c01
Bug 16527: Restore sticky due date behavior

Bug 10067 has introduced a regression on the sticky due date behavior:
If "remember for session" is checked and the due date is changed from 1
checkout to another, the old due date will be used.

The code added by bug 10067 is really confusing and it's hard to say
this patch won't introduce another regression.
The manipulation of $restoreduedatespec, $duedatespec and $stickyduedate
is not easy to follow.

Test plan:
Confirm that the regression is fixed and that this patch will not
introduced a regression on bug 10067 (good luck!)

Signed-off-by: Eivin Giske Skaaren <eivin@sysmystic.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 33f1354b7b50390b43e5a2f66e1abe58817e6d4d)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit cb2895592a59e181c6ceaff9b9cb3acaf5b4a2e4)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
circ/circulation.pl