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

Joonas Kylmälä <[email protected]> changed:

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

--- Comment #14 from Joonas Kylmälä <[email protected]> ---
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 <[email protected]>
Signed-off-by: Joonas Kylmälä <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to