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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/