[Koha-patches] [PATCH] More work on SimpleSearch
Chris Nighswonger
cnighswonger at foundations.edu
Tue Apr 15 11:24:31 CEST 2008
---
C4/Search.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/C4/Search.pm b/C4/Search.pm
index 2c572b7..9e49334 100644
--- a/C4/Search.pm
+++ b/C4/Search.pm
@@ -229,6 +229,7 @@ sub SimpleSearch {
my @results;
my @tmpresults;
my @zconns;
+ my $total_hits;
return ( "No query entered", undef, undef ) unless $query;
# Initialize & Search Zebra
@@ -260,7 +261,6 @@ sub SimpleSearch {
return ( $error, undef, undef );
}
}
- my $total_hits;
while ( ( my $i = ZOOM::event( \@zconns ) ) != 0 ) {
my $event = $zconns[ $i - 1 ]->last_event();
if ( $event == ZOOM::Event::ZEND ) {
--
1.5.3.7
More information about the Koha-patches
mailing list