Bug 13255: On-site checkout due date wrong if SpecifyDueDate is disabled
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 14 Nov 2014 16:15:57 +0000 (17:15 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 20 Nov 2014 00:32:24 +0000 (21:32 -0300)
commit5aa40b90a76c61fc3dcee62b6ea6d578cbe1f200
treea1e73d106dd8372a30dd50c5ae5ac707f7f11ce6
parent787131a308f57dd259de39f7cddd1dbe6a769e0f
Bug 13255: On-site checkout due date wrong if SpecifyDueDate is disabled

If you have the SpecifyDueDate preference disabled and check something
out as an on-site checkout the due date seems to follow the default
circulation rule rather than restricted the checkout to that day.

Test plan:
0/ Disable SpecifyDueDate and enable OnSiteCheckouts
1/ Check an item out to a patron and check the 'On-site checkout'
checkbox
2/ Verify (screen and DB) that the due date is correct (today 23:59)

Signed-off-by: Mirko Tietgen <mirko@abunchofthings.net>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, passes tests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
circ/circulation.pl