From 8ce5bee90c9950a27af1ae5749daf7688142907d Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 22 Apr 2008 14:36:27 +0000 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 2.11.0