From: erickson Date: Thu, 21 Aug 2008 13:43:01 +0000 (+0000) Subject: don't exit early on 0-hit search. cache them, since they are valid results X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=2065bf683d0d01cae8d89232f2e57e1dc8496927;p=Evergreen.git don't exit early on 0-hit search. cache them, since they are valid results git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@10391 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm index e8d1e12f15..848b1acc2e 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm @@ -765,7 +765,6 @@ sub staged_search { if($hc == 0) { $logger->info("search returned 0 results: duration=$search_duration: params=". OpenSRF::Utils::JSON->perl2JSON($search_hash)); - return {count => 0}; } # Create backwards-compatible result structures