projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e60fbf4
)
Bug 2944 fix courtesy of Amr Denni
author
Chris Cormack
<chris@bigballofwax.co.nz>
Sun, 3 May 2009 05:02:22 +0000
(17:02 +1200)
committer
Galen Charlton
<galen.charlton@liblime.com>
Fri, 8 May 2009 12:22:49 +0000
(07:22 -0500)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
eab50b7
..
f96149f
100644
(file)
--- a/
C4/Search.pm
+++ b/
C4/Search.pm
@@
-224,7
+224,7
@@
sub SimpleSearch {
my $search_result =
( $result->{hits}
&& $result->{hits} > 0 ? $result->{'RECORDS'} : [] );
- return ( undef, $search_result, scalar($
search_result
) );
+ return ( undef, $search_result, scalar($
result->{hits}
) );
}
else {
# FIXME hardcoded value. See catalog/search.pl & opac-search.pl too.