projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d50ab5e
)
More work on SimpleSearch
author
Chris Nighswonger
<cnighswonger@foundations.edu>
Tue, 15 Apr 2008 09:24:31 +0000
(
05:24
-0400)
committer
Joshua Ferraro
<jmf@liblime.com>
Thu, 17 Apr 2008 10:52:43 +0000
(
05:52
-0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
2c572b7
..
9e49334
100644
(file)
--- 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 ) {