[Koha-bugs] [Bug 15261] Verify if checkouts or reserves requests periods overlap with existing reserves
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 24 10:13:18 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15261
Julian Maurice <julian.maurice at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #92584|0 |1
is obsolete| |
Attachment #92585|0 |1
is obsolete| |
Attachment #92664|0 |1
is obsolete| |
--- Comment #76 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 93136
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=93136&action=edit
Bug 15261: Check if checkout/reserve request overlaps existing reserves
When checking out or placing hold, we should check if an existing
reserve whose period overlap exists.
- A user places a hold from opac whose requested period overlaps with an
existing reserve period => prevent reserve
- A librarian places a hold from staff whose requested period overlaps
with an existing reserve period => Warn librarian (Ask for
confirmation)
- A librarian makes a checkout from staff whose requested period
overlaps with an existing reserve period => Warn librarian (Ask for
confirmation)
Test plan:
Enable syspref: AllowHoldDateInFuture OPACAllowHoldDateInFuture
PreventChechoutOnSameReservePeriod and PreventReservesOnSamePeriod
1 (staff side):
- Place a hold on title (which has only one items) level with start date
and expiration date.
- Place another hold (also title level) with period overlaping this
reserve.
- Check you are warned about an existing reserve
2 (staff side):
- Place a hold on title (which has more than one items) level with start
date and expiration date.
- Place another hold (also title level) with period overlaping this
reserve.
- Check you are NOT warned about an existing reserve. Because it remains
at least one item not reserved.
3 (staff side):
- Place a hold on item level with start date and expiration date.
- Place another hold on item level with period overlaping this reserve.
- Check you are warned about an existing reserve.
4 (opac side):
- Do the same than for staff side. Instead of a warn, reserve is
prevented.
5:
- Place a hold on title (which has only one items) level with start date
and expiration date.
- Try to checkout the unique item from this title with period overlaping
the reserve period.
- Check you are warned about an existing reserve
6:
- Place a hold on title (which has more than one items) level with start
date and expiration date.
- Checkout an item from this title with period overlaping the reserve
period.
- Check you are NOT warned about an existing reserve.
7:
- Place a hold on item level with start date and expiration date.
- Checkout this item period overlaping the reserve period.
- Check you are warned about an existing reserve
8:
- Create a checkout (i.e from ${TODAY} to ${TODAY + 10 days}),
- Place a hold on the same item from ${TODAY + 11 days} to ${TODAY + 30
days}),
- Check that you cannot renew the checkout.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list