Koha-clms/installer/data/mysql
Kyle M Hall ebf4350735 Bug 11634 - Allow renewal of item with unfilled holds if other available items can fill those holds
The current holds behavior in Koha allows a situation like this:
- Patron A has an item currently checked out.
- Patron B places a hold on the next available copy of that title.
- Then Patron A will not be able to renew his item, even if there are
  other available copies of that title that could potentially fill Patron
  B's hold.

Since this seems unfair to Patron A, we should allow renewal of items
even if there are unfilled holds, but those holds could all be filled
with currently available items.

Test Plan:
1) Apply this patch
2) Create a record with two items
3) Check out the item to a patron
4) Place a hold on the record
5) Note you cannot renew the item for the patron
6) Enable the new system preference AllowRenewalIfOtherItemsAvailable
7) Note you can now renew the item, as all the holds can be satisfied
   by available items.
8) Place a second hold on the record
9) Note you can no longer renew the item, as all the holds *cannot*
   be filled by currently available items

Signed-off-by: Holger Meissner <h.meissner.82@web.de>
Signed-off-by: Chris Rohde <crohde@roseville.ca.us>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-11-12 11:27:31 -03:00
..
atomicupdate Bug 11867: MTT: Manage *_PHONE notices 2014-05-02 20:29:20 +00:00
de-DE Bug 7673 [Terminology follow-up] New patron permissions to manage items 2014-11-11 12:27:28 -03:00
en Bug 7673 [Terminology follow-up] New patron permissions to manage items 2014-11-11 12:27:28 -03:00
es-ES Bug 7673 [Terminology follow-up] New patron permissions to manage items 2014-11-11 12:27:28 -03:00
fr-FR Bug 7673 [Terminology follow-up] New patron permissions to manage items 2014-11-11 12:27:28 -03:00
it-IT Bug 7673 [Terminology follow-up] New patron permissions to manage items 2014-11-11 12:27:28 -03:00
mandatory Bug 12250: Update descriptions for languages, scripts and regions 2014-11-07 15:18:01 -03:00
nb-NO Bug 7673 [Terminology follow-up] New patron permissions to manage items 2014-11-11 12:27:28 -03:00
pl-PL Bug 7673 [Terminology follow-up] New patron permissions to manage items 2014-11-11 12:27:28 -03:00
ru-RU Bug 7673: DB changes - Add permissions 2014-11-11 12:27:21 -03:00
uk-UA Bug 7673: DB changes - Add permissions 2014-11-11 12:27:21 -03:00
backfill_statistics.pl Bug 5370: Fix all the references to koha.org 2010-11-08 09:41:49 +13:00
kohastructure.sql Bug 8836 - Resurrect Rotating Collections 2014-11-06 15:12:19 -03:00
labels_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
patroncards_upgrade.pl Bug 2505 - Add commented use warnings where missing in the installer/ directory 2010-04-21 20:26:28 +12:00
sysprefs.sql Bug 11634 - Allow renewal of item with unfilled holds if other available items can fill those holds 2014-11-12 11:27:31 -03:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 11634 - Allow renewal of item with unfilled holds if other available items can fill those holds 2014-11-12 11:27:31 -03:00