[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
Thu Jul 29 11:31:45 CEST 2021


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

Joonas Kylmälä <joonas.kylmala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #123250|0                           |1
        is obsolete|                            |
 Attachment #123266|0                           |1
        is obsolete|                            |

--- Comment #14 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 123278
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123278&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

Signed-off-by: Petro Vashchuk <stalkernoid at gmail.com>
Signed-off-by: Joonas Kylmälä <joonas.kylmala at helsinki.fi>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list