From: Bill Erickson Date: Thu, 23 Jun 2016 17:43:23 +0000 (-0400) Subject: LP#? Hold targeter refactoring and optimization. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5f3741a05d4a173008fdb27149eb7aa6f036c75c;p=working%2FEvergreen.git LP#? Hold targeter refactoring and optimization. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm index 9f07245ace..93f7cf0c97 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm @@ -61,7 +61,10 @@ sub new { # Target holds in reverse order of create_time. # # skip_viable => 1 -# Avoid retargeting holds whose current_copy is still viable and permitted. +# Avoid retargeting holds whose current_copy is still viable and +# permitted. This is useful for repairing holds whose targeted copy +# has become non-viable for a given hold because its status changed or +# policies affecting the hold/copy no longer allow it to be targeted. # This setting can be used in conjunction with any other settings. # # target_all => 1