From ce5f2d5e18b765877f8d8a3b17bd6ac28cc94f1d 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 --- 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