[open-ils-commits] r10391 -
branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Search
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Aug 21 09:43:03 EDT 2008
Author: erickson
Date: 2008-08-21 09:43:01 -0400 (Thu, 21 Aug 2008)
New Revision: 10391
Modified:
branches/rel_1_2/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: branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
===================================================================
--- branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-08-21 13:42:44 UTC (rev 10390)
+++ branches/rel_1_2/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-08-21 13:43:01 UTC (rev 10391)
@@ -765,7 +765,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