[open-ils-commits] r9425 -
trunk/Open-ILS/src/perlmods/OpenILS/Application/Search
svn at svn.open-ils.org
svn at svn.open-ils.org
Tue Apr 22 11:15:33 EDT 2008
Author: erickson
Date: 2008-04-22 10:36:27 -0400 (Tue, 22 Apr 2008)
New Revision: 9425
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
Log:
default estimated hit count to 0 to protect against null counts in the case of a search timeout/failure
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-04-22 14:35:50 UTC (rev 9424)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-04-22 14:36:27 UTC (rev 9425)
@@ -773,7 +773,7 @@
# fulfill the user-specified limit and offset
my $all_results = [];
my $page; # current superpage
- my $est_hit_count;
+ my $est_hit_count = 0;
for($page = 0; $page < $SEARCH_PAGES; $page++) {
More information about the open-ils-commits
mailing list