From 7d4fbbc8f3b89c221930e95d27d2026768dcfb5e Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 3 Apr 2017 15:13:08 -0400 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/lib/OpenILS/Utils/HoldTargeter.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.11.0