Correcting code to pass total number of hits returned to the template.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
d7637da3af
commit
f3088a211a
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ if ( $show_results ) {
|
|||
startfromnext => $startfrom + min( $resultsperpage, scalar @results ),
|
||||
startfromprev => max( $startfrom - $resultsperpage, 0 ),
|
||||
searchdata => \@field_data,
|
||||
total => $total,
|
||||
total => (scalar @results),
|
||||
from => $startfrom + 1,
|
||||
to => $startfrom + min( $resultsperpage, scalar @results ),
|
||||
numbers => \@numbers,
|
||||
|
|
Loading…
Reference in a new issue