Bug 25783: Holds Queue treating item-level holds as bib-level
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 17 Jun 2020 15:41:21 +0000 (11:41 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 18 Jun 2020 12:55:51 +0000 (14:55 +0200)
commitdb235d33a4caf64387b86ebab7b658bd7759ff21
treee0ce2639b4e3e8bebfe77172424d636514719bd4
parentdd4970860d4299c89ce4a698644c08f990bc1468
Bug 25783: Holds Queue treating item-level holds as bib-level

The holds queue builder does not honor
the new item_level_hold flag. Instead, it only item_level_request if
in the loop dealing with item level holds. This is incorrect. Item level
holds may be trapped in the local holds priority loop as well. It's
trivial to just pass though the correct item/biblio level hold flag.

I do not know how to write a reproducable test plan for these issues.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kim Peine <kim@williston.lib.vt.us>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/HoldsQueue.pm