[Koha-bugs] [Bug 12063] Change date calculation for reserve expiration to skip all holidays
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jan 18 15:14:47 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12063
Alex Arnaud <alex.arnaud at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #53100|0 |1
is obsolete| |
--- Comment #32 from Alex Arnaud <alex.arnaud at biblibre.com> ---
Created attachment 59161
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59161&action=edit
Bug 12063: Change date calculation for reserve expiration to skip all holiday
This patch makes koha automatically set expiration date when reserves become
waitting. Also it adds a new syspref "ExcludeHolidaysFromMaxPickUpDelay" that
allows to
take holidays into account while calculating expiration date.
Test plan:
- Install this patch and run updatedatabase.pl script,
- allow ExpireReservesMaxPickUpDelay in system preferences,
- set ReservesMaxPickUpDelay to 5.
- Place an hold on a checked out item and check in this item:
The hold's expiration date should be today + 5.
- Allow ExcludeHolidaysFromMaxPickUpDelay in system preferences,
- add holiday during this pickup delay period,
- Create a new hold and make it comes waitting:
The hold's expiration date should be today + 5 + number of closed
day(s).
Also:
- Check that ExpireReservesOnHolidays syspref works again
without ExcludeHolidaysFromMaxPickUpDelay.
- Check that cancel fees apply again if wanted.
Signed-off-by: sonia BOUIS <sonia.bouis at univ-lyon3.fr>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list