From 0d84b49ea7fb91171f1c2e07abd94bb54007ae86 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 24 Mar 2026 08:57:30 +0000 Subject: [PATCH] Bug 41959: (QA follow-up) Add missing POD Signed-off-by: Martin Renvoize --- C4/HoldsQueue.pm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/C4/HoldsQueue.pm b/C4/HoldsQueue.pm index 9abe6f1182..cf6903cf21 100644 --- a/C4/HoldsQueue.pm +++ b/C4/HoldsQueue.pm @@ -439,6 +439,15 @@ sub _checkHoldPolicy { } +=head2 _allocateWithTransportCostMatrix + + _allocateWithTransportCostMatrix( $hold_requests, $available_items, $branches_to_use, $libraries, + $transport_cost_matrix, $allocated_items, $items_by_itemnumber ) + + given a list of holds and items attempt to fill the holds in the 'least cost' order + +=cut + sub _allocateWithTransportCostMatrix { my ( $hold_requests, $available_items, $branches_to_use, $libraries, $transport_cost_matrix, $allocated_items, @@ -1131,6 +1140,12 @@ sub AddToHoldTargetMap { # Helper functions, not part of any interface +=head2 _trim + +Remove leading and trailing spaces + +=cut + sub _trim { return $_[0] unless $_[0]; $_[0] =~ s/^\s+//;