From: Bill Erickson Date: Mon, 3 Apr 2017 19:13:08 +0000 (-0400) Subject: LP#1679279 Hold targeter parallel grouping repair X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c24975a6c96bfeb4a8efe0afd0130b1042382f88;p=Evergreen.git LP#1679279 Hold targeter parallel grouping repair Group parallel hold targeting batches on the metarecord ID, instead of the ID of the metarecord map, which has no meaning to the application. Signed-off-by: Bill Erickson Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm b/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm index f7cc947ca5..eaed9b411b 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm @@ -176,7 +176,7 @@ sub find_holds_to_target { my $slot = $self->{parallel_slot} - 1; $query->{where}->{'+mmrsm'} = { - id => { + metarecord => { '=' => { transform => 'mod', value => $slot,