[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
Fri Nov 19 16:06:44 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21729
Florian <florian.bontemps at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #127799|0 |1
is obsolete| |
--- Comment #36 from Florian <florian.bontemps at biblibre.com> ---
Created attachment 127879
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127879&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
Signed-off-by: Andrew Fuerste-Henry <andrew at bywatersolutions.com>
Signed-off-by: Florian Bontemps <florian.bontemps at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list