From: miker Date: Wed, 5 Dec 2007 17:20:15 +0000 (+0000) Subject: Remove the bre step from the join tree -- not needed X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7b245114d6a94d9a860356e46d32d11bee3efa0c;p=Evergreen.git Remove the bre step from the join tree -- not needed git-svn-id: svn://svn.open-ils.org/ILS/trunk@8140 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm index 9691f2b1f5..4bceb62010 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Circ/Holds.pm @@ -1107,16 +1107,10 @@ sub _check_metarecord_hold_is_possible { field => 'id', fkey => 'call_number', 'join' => { - bre => { - field => 'id', + mmrsm => { + field => 'source', fkey => 'record', - 'join' => { - mmrsm => { - filter => { metarecord => $mrid }, - field => 'source', - fkey => 'id' - } - } + filter => { metarecord => $mrid } } } },