Main Koha release repository https://koha-community.org
Find a file
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
acqui Bug 12979: Fix error on layout3pagesfr 2014-11-07 15:03:36 -03:00
admin Bug 9043: Syspref improvement: add new type "multiple" 2014-11-10 12:25:12 -03:00
authorities Bug 12573: Use correct comparison for comparing strings 2014-10-28 10:44:21 -03:00
basket Bug 9530 making changes to basket/sendbasket.pl 2014-10-27 10:38:20 -03:00
C4 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
catalogue Bug 13225: Z39.50 result Card View doesn't work for UNIMARC 2014-11-10 11:59:48 -03:00
cataloguing Bug 13203: Plugin housekeeping: UNIMARC field 123i, 123j, 210c 2014-11-11 14:10:34 -03:00
circ Bug 12692 - Markup improvements to holds awaiting pickup report 2014-11-10 12:22:13 -03:00
course_reserves
debian Bug 12234 - dependency updates for master 2014-11-11 09:43:03 -03:00
docs
errors
etc Bug 13163: NORMARC DOM config missing <id> entry 2014-10-31 16:45:04 -03:00
install_misc
installer 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
Koha Bug 8836: Update DBIx 2014-11-06 15:28:19 -03:00
koha-tmpl 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
labels
members
misc Bug 8218: qa followup 2014-11-11 15:39:05 -03:00
offline_circ
opac Bug 13116 [QA Followup] - Remove tabs, use unless instead of if 2014-11-12 11:23:45 -03:00
OpenILS
patron_lists
patroncards
plugins
reports Bug 13141: Add ability for biblio_framework to be a dropdown in Guided Reports 2014-10-31 13:14:59 -03:00
reserve Bug 13116 [QA Followup] - Remove tabs, use unless instead of if 2014-11-12 11:23:45 -03:00
reviews
rotating_collections Bug 8836 [QA Followup] - Sort transfer branches alphabetically 2014-11-06 15:12:20 -03:00
selenium
serials Bug 5342: Serial claiming improvements: add a counter 2014-10-28 10:07:37 -03:00
services
skel
sms
suggestion Bug 12627: Fix default values 2014-11-07 15:17:10 -03:00
svc Bug 9043: Syspref improvement: add new type "multiple" 2014-11-10 12:25:12 -03:00
t Bug 13116 - Make it possible to propagate errors from C4::Reserves::CanItemBeReserved() to the web-templates. 2014-11-12 11:23:41 -03:00
tags
test
tmp/modified_authorities
tools Bug 7673: Assume that all fields can be edited if the pref is empty 2014-11-11 12:27:23 -03:00
virtualshelves Bug 9530 making changes to virtualshelves/sendshelf.pl 2014-10-27 10:38:25 -03:00
xt Bug 12653: (RM followup) Fix the test count 2014-10-29 20:43:52 -03:00
.editorconfig
.htaccess
.mailmap
about.pl Bug 13140: Add a notice on the About page about GRS-1 deprecated 2014-10-27 11:24:09 -03:00
changelanguage.pl
edithelp.pl
fix-perl-path.PL
help.pl
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7
INSTALL.opensuse
INSTALL.ubuntu
koha_perl_deps.pl
kohaversion.pl Bug 7673: DBRev 3.17.00.053 2014-11-11 14:05:26 -03:00
LICENSE
mainpage.pl
Makefile.PL Bug 12651: DOM indexing is the default 2014-10-27 12:35:44 -03:00
MANIFEST.SKIP
README
README.robots
rewrite-config.PL Bug 12031: [QA Follow-up] Undefined routine and change to koha-conf.xml 2014-10-27 10:38:11 -03:00

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/