[Bug 27065] New: Automatic renewals performed when no reservable items are available but items that can be issued are available.
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.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27065 --- Comment #1 from Andreas Jonsson <andreas.jonsson@kreablo.se> --- Created attachment 113879 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113879&action=edit Bug 27065: Fix incorrect handling of return value of CanItemBeRenewed in CanBookBeRenewed -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27065 Jonathan Druart <jonathan.druart@bugs.koha-community.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@bugs.koha-c | |ommunity.org Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #2 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Please have a look at bug 26659. *** This bug has been marked as a duplicate of bug 26659 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org