[Koha-bugs] [Bug 29786] New: Holds to pull report shows incorrect item for item level holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 4 14:35:55 CET 2022


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

            Bug ID: 29786
           Summary: Holds to pull report shows incorrect item for item
                    level holds
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Reports
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

When running holds to pull it can show the wrong item for an item level hold.
This is because we simply get the first barcode from the list of items that can
fill the hold.

The issue seems to come from 'get_items_that_can_fill' in Koha::Holds

This does not take into account that an item level hold can only be filled by
one item

To recreate:
1 - Find a record with many items available
2 - Place an item level hold for an item on the record, not the one with lowest
itemnumber
3 - Run 'Hold to pull' report
4 - Note the barcode does not match

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


More information about the Koha-bugs mailing list