RandomizeHoldsQueueWeight, causing the script to request hold
fulfillment not randomly, but by alphabetical order.
-.. _perl-documentation-holds-queue-label:
-
-Perl Documentation
-''''''''''''''''''''''''''''''''''''''''''''
-
-**GetBibsWithPendingHoldRequests**
-
-my $biblionumber\_aref = GetBibsWithPendingHoldRequests();
-
-Return an arrayref of the biblionumbers of all bibs that have one or
-more unfilled hold requests.
-
-**GetPendingHoldRequestsForBib**
-
-my $requests = GetPendingHoldRequestsForBib($biblionumber);
-
-Returns an arrayref of hashrefs to pending, unfilled hold requests on
-
-the bib identified by $biblionumber. The following keys are present in
-each hashref:
-
-- biblionumber
-
-- borrowernumber
-
-- itemnumber
-
-- priority
-
-- branchcode
-
-- reservedate
-
-- reservenotes
-
-- borrowerbranch
-
-The arrayref is sorted in order of increasing priority.
-
-**GetItemsAvailableToFillHoldRequestsForBib**
-
-my $available\_items =
-
-GetItemsAvailableToFillHoldRequestsForBib($biblionumber);
-
-Returns an arrayref of items available to fill hold requests for the bib
-identified by $biblionumber. An item is available to fill a hold
-
-request if and only if:
-
-- it is not on loan
-
-- it is not withdrawn
-
-- it is not marked notforloan
-
-- it is not currently in transit
-
-- it is not lost
-
-- it is not sitting on the hold shelf
-
-**MapItemsToHoldRequests**
-
-MapItemsToHoldRequests($hold\_requests, $available\_items);
-
-**CreatePickListFromItemMap**
-
-**AddToHoldTargetMap**
-
-**\_get\_branches\_to\_pull\_from**
-
-Query system preferences to get ordered list of branches to use to fill
-hold requests.
-
.. _expired-holds-label:
Expired Holds