From: erickson Date: Tue, 22 Apr 2008 14:36:27 +0000 (+0000) Subject: default estimated hit count to 0 to protect against null counts in the case of a... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8ce5bee90c9950a27af1ae5749daf7688142907d;p=Evergreen.git default estimated hit count to 0 to protect against null counts in the case of a search timeout/failure git-svn-id: svn://svn.open-ils.org/ILS/trunk@9425 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 d28f5cc26f..e6640c4984 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm @@ -773,7 +773,7 @@ sub staged_search { # 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++) {