https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27065 Bug ID: 27065 Summary: Automatic renewals performed when no reservable items are available but items that can be issued are available. Change sponsored?: --- Product: Koha Version: 20.05 Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: Circulation Assignee: koha-bugs@lists.koha-community.org Reporter: andreas.jonsson@kreablo.se QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com, kyle.m.hall@gmail.com The return value of CanItemBeReserved is incorrectly used in a condition in CanBookBeRenewed: next unless CanItemBeReserved($borrowernumber,$itemnumber); CanItemBeReserved returns a hash reference wich always evaluates to true. The condition should instead be: next unless CanItemBeReserved($borrowernumber,$itemnumber)->{status} eq 'OK'; -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.