Bug 22004

Summary: When decreaseLoanHighHolds is set to Enable, suspended holds still count in the number of holds
Product: Koha Reporter: Kelly McElligott <kelly>
Component: Hold requestsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: cbrannon, christofer.zorn, gmcharlt, katrin.fischer
Version: 18.05   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22005
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Kelly McElligott 2018-12-14 18:53:03 UTC
The system preference decreaseLoanHighHolds if set to enable allows the library to modify the checkout length if a records has X number of holds.  Unfortunately, Koha will look at the holds and determine to use this system preference and not discard the suspended holds. For example if a library had this system preference to decrease the loan period if a record has 2 holds on it, if there are 2 holds on the item, but one hold has been suspended, then Koha should not decrease the checkout period - however it does.
Comment 1 Christofer Zorn 2019-03-11 18:32:02 UTC
We had the same issue where a patron was trying to check out their own hold, on a book with a suspended hold. The system reduced the loan period as it saw two holds on the account, when in actuality there was really only one active hold.

Could this be changed to only count active holds as we have many people place a hold on an item and then suspend the hold for months.

Thanks

Christofer
Comment 2 Christopher Brannon 2021-10-08 16:23:39 UTC
decreaseLoanHighHoldsIgnoreStatuses needs to include an option for suspended holds.  That would be the BEST solution.  Needs to remain off by default for upgraded systems for consistency.