[Koha-bugs] [Bug 22219] New: C4::Biblio->GetItemsForInventory can return wrong count / duplicated items when skipping waiting holds

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 28 20:27:13 CET 2019


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

            Bug ID: 22219
           Summary: C4::Biblio->GetItemsForInventory can return wrong
                    count / duplicated items when skipping waiting holds
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
  Target Milestone: ---

The SQL does a left join to reserves ON (itemnumber)

If there are multiple item-specific holds we will get multiple results for a
biblio

Discovered while running tests on bug 21798

To recreate:
1 - place several holds on a specific item
2 - prove -v t/db_dependent/Items/GetItemsForInventory
3 - It fails

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


More information about the Koha-bugs mailing list