Bug 33523 - Hold Queue & Holds to pull targets items on record level holds that should not fill the hold
Summary: Hold Queue & Holds to pull targets items on record level holds that should no...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Hold requests (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-13 14:14 UTC by Lisette Scheer
Modified: 2024-08-19 20:37 UTC (History)
5 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lisette Scheer 2023-04-13 14:14:30 UTC
Holds queue doesn't check if a branch's item can fill the hold if at least one item is available on the record for a bib level hold

To recreate: 

• Have ReservesControlBranch set to "item's home library"
• Have at least 2 libraries. 
• Set the circulation rules so that a patron type can place holds on an item type at library A
• Set the circulation rules so that the same patron type cannot place holds on or have any checkouts on the same item type at library B
• Make a record with at least 2 items, one at library A and one at library B. 
• Place a bib level hold for a patron matching the patron type in the rules
• Run holds to pull for both branches
• The item should only show on  Library A's list, but it also shows on library B. 

Library B doesn't allow checkout of those items for that patron type. 

The same thing also happens if there are separate item types on the same record, such as a public copy and a staff copy. The staff copy will try to fill the hold even though it can only be held and loaned by staff. 

Lisette
Comment 1 Rebecca Coert 2024-07-17 15:35:07 UTC
We can confirm that this behavior is still occurring a year later.  Our technical services department cannot retrieve non-circulating items from the branches, which they should be able to hold and check out based on the loan rules. We've had to modify workarounds and reports to retrieve these items.
Comment 2 Katrin Fischer 2024-07-17 18:59:03 UTC
(In reply to Rebecca Coert from comment #1)
> We can confirm that this behavior is still occurring a year later.  Our
> technical services department cannot retrieve non-circulating items from the
> branches, which they should be able to hold and check out based on the loan
> rules. We've had to modify workarounds and reports to retrieve these items.

Hi Rebecca, is this maybe a different bug?
If the item is marked as 'for reference' or 'not for loan' these settings will overrule the circulation conditions and that would be the currently expected behavior, they cannot fill holds. There is another bug for an enhancement that would allow it: bug 35299