https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36459 --- Comment #6 from Lucas Gass <lucas@bywatersolutions.com> --- (In reply to Emily Lamancusa from comment #5)
This does break 18885, I'm afraid:
1. Have OnSiteCheckouts enabled and OnSiteAutoCheck disabled 2. Go to circulation.pl 3. Check the checkbox for on-site checkout --> The checkout date is auto-populated with today's date 4. Check out an item --> When the page reloads, the checkbox is no longer checked, but the checkout date is still populated
In the use case you're aiming to fix here, though, on-site checkouts was never checked in the first place...so why is #duedatespec being cleared at all? I think there's something deeper going on here.
Are you sure? In my testing steps 1-4 only work when my patch from this bug is applied. Without this patch: -I check the on-site checkbox, today's date is populated. -I checkout an item, both the checkbox and the due date is cleared With my patch: -I check the on-site checkbox, today's date is populated. -I checkout an item, the checkbox is cleared but the date remains. -- You are receiving this mail because: You are watching all bug changes.