[open-ils-commits] r10392 -
trunk/Open-ILS/src/perlmods/OpenILS/Application/Search
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Aug 21 09:43:08 EDT 2008
Author: erickson
Date: 2008-08-21 09:43:07 -0400 (Thu, 21 Aug 2008)
New Revision: 10392
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
Log:
don't exit early on 0-hit search. cache them, since they are valid results
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-08-21 13:43:01 UTC (rev 10391)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-08-21 13:43:07 UTC (rev 10392)
@@ -835,7 +835,6 @@
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
More information about the open-ils-commits
mailing list