don't exit early on 0-hit search. cache them, since they are valid results
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 21 Aug 2008 13:43:07 +0000 (13:43 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 21 Aug 2008 13:43:07 +0000 (13:43 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10392 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm

index ae40e14..c1a01c9 100644 (file)
@@ -835,7 +835,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