[Koha-bugs] [Bug 35727] New: Unused code in HoldsQueue::MapItemsToHoldRequests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 8 17:56:37 CET 2024


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

            Bug ID: 35727
           Summary: Unused code in HoldsQueue::MapItemsToHoldRequests
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Hold requests
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: andreas.jonsson at kreablo.se
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

The hash %specific_items_requested is computed but never used anywhere.  I went
all the way back to v3.0.6 and couldn't find any sign that it has ever been
used.


    # identify item-level requests
    my %specific_items_requested = map { $_->{itemnumber} => 1 }
                                   grep { defined($_->{itemnumber}) }
                                   @$hold_requests;

-- 
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