From 12ea3a6ea892b4069c3b3f384dd7a20a139b13e5 Mon Sep 17 00:00:00 2001 From: erickson Date: Tue, 22 Apr 2008 14:35:50 +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/branches/rel_1_2@9424 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 9f66cdee27..8228f690c4 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm @@ -708,7 +708,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