[Koha-bugs] [Bug 28057] Confusion of biblionumber and biblioitemnumber in request.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 14 20:25:07 CEST 2021


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

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 119598
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=119598&action=edit
Bug 28057: Use the biblioitem's biblionumber for checking availability

The loop here gets items from the record, plus analytic items. Because of this
we need to check more than 1 record - we decide to do this via biblioitems.

We need to preserve that, but when checking ItemsAnyAvailableAndNotRestricted
we
cannot assume that the biblionumber and biblioitemnumber are the same (they
should be
but this may not be the best of all possible worlds)

I simply switch the call here

To test:
1 - Apply patch
2 - Test placing holds on single bibs and multiple bibs
3 - Confirm it works as expected

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