https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44281 --- Comment #1 from babar junaid <babarjunaid1122@gmail.com> --- Created attachment 212592 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212592&action=edit Bug 44281: Apply the recall overdue fine only to the recalled item, else the normal fine Bug 44281: Apply the recall overdue fine only to the recalled item, else the normal fine CalcFine charged the normal fine only when the record had no overdue recall at all. So: - with no "Recall overdue fine amount" in the rule, an overdue recall on the record made every overdue loan of that record cost 0; - an item-level recall on another item of the record left the "biblio-level recall" flag set, so an item nobody recalled was charged the recall overdue fine. Now the recall overdue fine is charged when the rule has one and the record has an overdue biblio-level recall, or an overdue item-level recall for this item. Otherwise the normal fine is charged. Test plan: 1. prove t/db_dependent/Circulation/CalcFine.t Without the patch the new subtest fails: 25 instead of 5 for the item that was not recalled, 0 instead of 5 with no recall fine amount. With the patch it passes. 2. prove t/db_dependent/Overdues.t t/db_dependent/Koha/Recalls.t t/db_dependent/Koha/Recall.t Sponsored-by: Koha Solutions -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.