From e0896f470df01957b192a60a9b2b8496309516ea Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 3 Jan 2012 17:30:43 -0500 Subject: [PATCH] Revert "TPAC: Uniform search lib / depth settings" Reverting partial commit that accidentally crept in, causing TPAC breakage. This reverts commit ea71899306e026bd0c9c91180a0af76a55fbec08. Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm | 2 -- 1 file changed, 2 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm index 7fa671d96e..6e74628a9a 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Search.pm @@ -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"); -- 2.11.0