[Koha-bugs] [Bug 21729] When reverting a hold the expirationdate should be reset
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 13 11:38:14 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21729
--- Comment #14 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 126162
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126162&action=edit
Bug 21729: Keep expiration date set when placing a hold
The expiration date picked by the patron (or librarian) when placing a
hold is lost when a waiting hold is reverted.
We need a separate DB field to store this value and restore it when
needed: patron_expiration_date
The new behaviours are now:
Create a hold and specify an expiration date:
expirationdate=patron_expiration_date
Fill the hold:
expiration_date is calculated
expiration_date set to the calculated value or to
patron_expiration_date if anterior
patron_expiration_date not modified
Revert the waiting status:
expirationdate set back to patron_expiration_date
Cancel expire reserves:
if < expirationdate OR < patron_expiration_date
Note: This change should not be needed but won't hurt
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list