Bug 21420

Summary: decreasehighloanhighholds is not performing correctly
Product: Koha Reporter: Kelly McElligott <kelly>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: 17.11   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Kelly McElligott 2018-09-26 19:08:20 UTC
If system preference decreasehighloanholds is enabled and rules are set up : such as Enable the reduction of loan period to X number of days for items with more than X number of holds "over the number of holdable items on the record. When a record has multiple items and multiple holds, however, enough available (holdable) items to fulfill all the holds, a pop will still appear activating this reduction of loan period.  If there are more than X holds, Koha should still look at the number of holdable item prior to activating this reduction of loan period.  However currently, it is just going on the number of holds on the record instead of taking the other factor into play.  

I can replicate this on 17.11.08.