More work on SimpleSearch
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
d50ab5e6e8
commit
743fbda69d
1 changed files with 1 additions and 1 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue