[Koha-bugs] [Bug 28310] request.pl using biblioitemnumber in biblionumber field

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 10 17:51:34 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28310

--- Comment #1 from Blou <philippe.blouin at inlibro.com> ---
Created attachment 120800
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120800&action=edit
Bug 28310: request.pl using biblioitemnumber in biblionumber field

In reserve/request.pl, the code querying ItemsAnyAvailableAndNotRestricted
(previously ItemsAnyAvailableForHold)
is passing the biblioitemnumber as a value to a specified biblionumber.

>> ItemsAnyAvailableAndNotRestricted( { biblionumber => $biblioitemnumber, patron => $patron })

All you need is a Koha instance where the values of biblionumber and
biblioitemnumber are not synchronized for this to break.  And break badly.

-- 
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