[Koha-bugs] [Bug 33411] New: SIP2 includes other guarantees with the same guarantor when calculating against NoIssuesChargeGuarantees
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 4 20:25:07 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33411
Bug ID: 33411
Summary: SIP2 includes other guarantees with the same guarantor
when calculating against NoIssuesChargeGuarantees
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: SIP2
Assignee: koha-bugs at lists.koha-community.org
Reporter: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
Bug 29755 seems to have made a bad assumption when moving code to use
Koha::Patron->relationships_debt for calculating fine thresholds
It seems that routine finds the patrons guarantor, and adds all related
guarantees when called like:
$patron->relationships_debt({ include_guarantors => 0, only_this_guarantor =>
0, include_this_patron => 0 });
It seems NoIssuesChargeGuarantees should only count a patrons direct
guarantees, not the fines of patrons sharing their guarantor
--
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