[Koha-bugs] [Bug 28721] New: Holds Ratio fails when all copies are unavailable
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 19 22:38:56 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28721
Bug ID: 28721
Summary: Holds Ratio fails when all copies are unavailable
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Circulation
Assignee: koha-bugs at lists.koha-community.org
Reporter: andrew at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com
To recreate:
- find a bib with just 1 item on it
- confirm the item is not notforloan, damaged, lost, or withdrawn
- place 3 holds on the title
- go to the holds ratio in circulation, confirm your title shows when the ratio
is set to 3
- go back to your item, set it to lost
- reload the holds ratio, see your title is no longer listed
In the scenario above, we end up dividing by zero because there are no
available items. This messes up our ratio and makes this title not show as
needing more copies, even though our ratio is definitely less than 3 copies per
hold.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list