Revert "TPAC: Uniform search lib / depth settings"
authorBill Erickson <berick@esilibrary.com>
Tue, 3 Jan 2012 22:30:43 +0000 (17:30 -0500)
committerBill Erickson <berick@esilibrary.com>
Tue, 3 Jan 2012 22:33:46 +0000 (17:33 -0500)
Reverting partial commit that accidentally crept in, causing TPAC
breakage.

This reverts commit ea71899306e026bd0c9c91180a0af76a55fbec08.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm

index 7fa671d..6e74628 100644 (file)
@@ -124,8 +124,6 @@ sub _prepare_biblio_search {
             $depth = $org->ou_type->depth;
         }
         $query .= " depth($depth)";
-    } else {
-        $depth = $ctx->{get_aou}->($org)->ou_type->depth;
     }
 
     $logger->info("tpac: site=$site, depth=$depth, query=$query");