From: Bill Erickson Date: Tue, 3 Jan 2012 22:30:43 +0000 (-0500) Subject: Revert "TPAC: Uniform search lib / depth settings" X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e0896f470df01957b192a60a9b2b8496309516ea;p=evergreen%2Fmasslnc.git 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 --- 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");